aboutsummaryrefslogtreecommitdiffstats
path: root/testing/fossil/APKBUILD
blob: c36ac607e614012f02711bf7f6d4aaac98d72a3d (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
# Contributor: Paul Onyschuk <blink@bojary.koba.pl>
# Maintainer:
pkgname=fossil
pkgver=1.18
_pkgver=20110713230341
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="$url/download/$pkgname-src-$_pkgver.tar.gz"

_builddir="$srcdir"/$pkgname-src-$_pkgver

build() {
	cd "$_builddir"
	make TCC="${CC:-gcc} $CFLAGS" || return 1
}

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

md5sums="ed916bc0db85f30eadd0de45f6bc95ad  fossil-src-20110713230341.tar.gz"