aboutsummaryrefslogtreecommitdiffstats
path: root/main/fossil/APKBUILD
blob: 89e6ca318608464ceb250d4d2d252882479b5c13 (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.2
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 sqlite-dev"
source="http://www.fossil-scm.org/index.html/uv/$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="1a1aedf3f9883a64f9f98c9a01857f5fb69cff0be23817016a4bc405b2efc85f21ac86a771d5e7314128e3fabc21444ac717017cf0935241fd4af964b7c086e0  fossil-src-2.2.tar.gz"