aboutsummaryrefslogtreecommitdiffstats
path: root/main/fossil/APKBUILD
blob: 29dc94396cc8f67c7fe6cae51ceb1473db7ea35b (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: Natanael Copa <ncopa@alpinelinux.org>
pkgname=fossil
pkgver=2.0
pkgrel=0
pkgdesc="Simple, high-reliability, distributed software configuration management"
url="http://www.fossil-scm.org"
arch="all"
license="BSD"
depends=""
makedepends="libressl-dev zlib-dev sqlite-dev"
source="http://www.fossil-scm.org/index.html/uv/download/$pkgname-src-$pkgver.tar.gz"

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

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

sha512sums="eef22600d293f5945f2d04daecf1308246b428fe6f6da6941b92a4f369c73c984f4d1458a462baa157267c701f9581fd7dedc9a59ee614784d786f95d92c9545  fossil-src-2.0.tar.gz"