aboutsummaryrefslogtreecommitdiffstats
path: root/testing/fossil/APKBUILD
blob: 8314f492bfdfddc5ee99952b09b571e331954847 (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=20140127173344
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="e123c15c9b82b8bed2f4d1c5f8e19f8c  fossil-src-20140127173344.tar.gz"
sha256sums="aca7c5a7c39ae2880712020e089c9c12543ba656c71d8cf8ac50e3c8871baa80  fossil-src-20140127173344.tar.gz"
sha512sums="566327925dd8e966bc323570b123721609994a58099c2fb91718e5deac73b6f496ad34133886ef3f3c1877cc60d510d2e4db4343db1b5792b837d5f59a2ed645  fossil-src-20140127173344.tar.gz"