aboutsummaryrefslogtreecommitdiffstats
path: root/testing/fossil/APKBUILD
blob: 72f0c1f6e8d546cc35bc84bf0cc6699a6c1e2e03 (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=20130216000435
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-src-$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="f2de8262d1147c93c0f73a5b761bc445  fossil-src-20130216000435.tar.gz"
sha256sums="6fc0068a9174fc24ec9323cf7fddd771320248d9befc4a417746839a442c8de1  fossil-src-20130216000435.tar.gz"
sha512sums="7b80d74b3bc89e60a5fcee7ce6a4a96699260b8e204d245a264ac4ba3bfb09befcb4f764747fe8da3e68321383e31e91da80c0e90aa9b79ad4a84ccb6392f4d9  fossil-src-20130216000435.tar.gz"