aboutsummaryrefslogtreecommitdiffstats
path: root/main/fossil/APKBUILD
blob: a63f92953bd6b443b7bdd5d92683b79b1f8460ee (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
34
# Contributor: Paul Onyschuk <blink@bojary.koba.pl>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=fossil
pkgver=1.36
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
}

md5sums="48021bb79dd44145f5275b531e96bd55  fossil-src-1.36.tar.gz"
sha256sums="2676c35ec5e44099a3522e7e9f1d1f84a9338db4457618d5338cb6826d0dfd12  fossil-src-1.36.tar.gz"
sha512sums="95535d1ca2dbb891e6436b7ecd343d75f57c95bdc790c16f4c82d21b5c49e1d3509bec30332b2929ee7afa49f7a00301287e3752a8b83f153e88c91d3bbfdacf  fossil-src-1.36.tar.gz"