aboutsummaryrefslogtreecommitdiffstats
path: root/main/fossil/APKBUILD
blob: 41144d359853fdf3f21f5cf2af27f3bd1462ea59 (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
33
# Contributor: Paul Onyschuk <blink@bojary.koba.pl>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=fossil
pkgver=1.34
pkgrel=1
pkgdesc="Simple, high-reliability, distributed software configuration management"
url="http://www.fossil-scm.org"
arch="all"
license="BSD"
depends=""
makedepends="libressl-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 \
		--json \
		|| return 1
	make TCC="${CC:-gcc} $CFLAGS" || return 1
}

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

md5sums="3d5a7da5c506a47784942236a788b29b  fossil-src-1.34.tar.gz"
sha256sums="53a6b83e878feced9ac7705f87e5b6ea82727314e3e19202ae1c46c7e4dba49f  fossil-src-1.34.tar.gz"
sha512sums="7c2677566527466727e823e5bf59f636b5fd08dd1093a742c3f7f72d398d380288030c3a573ae3c66c60f1e8c194f36f5987fa835251d7ced10533b9779578d7  fossil-src-1.34.tar.gz"