aboutsummaryrefslogtreecommitdiffstats
path: root/testing/fossil/APKBUILD
blob: b4ce3a1d455225653a13f738d618b1e1baae59ef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Contributor: Paul Onyschuk <blink@bojary.koba.pl>
# Maintainer:
pkgname=fossil
pkgver=1.32
pkgrel=0
pkgdesc="Simple, high-reliability, distributed software configuration management"
url="http://www.fossil-scm.org"
arch="all"
license="BSD"
depends=""
makedepends="openssl-dev zlib-dev"
source="http://www.fossil-scm.org/download/$pkgname-src-$pkgver.tar.gz"

_builddir="$srcdir"/$pkgname-$pkgver
build() {
	cd "$_builddir"
	./configure \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		|| return 1
	make TCC="${CC:-gcc} $CFLAGS" || return 1
}

package() {
	cd "$_builddir"
	install -Dm 755 $pkgname "$pkgdir"/usr/bin/$pkgname || return 1
}

md5sums="ddf352925a795e574925505b9344a58e  fossil-src-1.32.tar.gz"
sha256sums="cd79c333eb9e86fbb8c17bf5cdf31c387e4ab768eede623aed21adfdbcad686e  fossil-src-1.32.tar.gz"
sha512sums="848a0f91e90b634981f8640805ccfb63069f938a488ff97a81fe3607241df0df82e01d61c1ba54b7362d6b17a58d22aac71a4f4f11d3273431ed51256f4fd7ee  fossil-src-1.32.tar.gz"