aboutsummaryrefslogtreecommitdiffstats
path: root/main/fossil/APKBUILD
blob: 1fc1312268936809ccf118bde918a6b1a380613a (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.35
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"
source="http://www.fossil-scm.org/download/$pkgname-src-$pkgver.tar.gz"

builddir="$srcdir"/$pkgname-$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="b915e9d9a00ef2310d3043a471b8f050  fossil-src-1.35.tar.gz"
sha256sums="c1f92f925a87c9872cb40d166f56ba08b90edbab01a8546ff37025836136ba1d  fossil-src-1.35.tar.gz"
sha512sums="2a31530d81a316b69daba446e91236fdb94ced17a7228c094fc6053f9d75e736b6a50a93d97b8e875a4750fa4ff868b0dc78b494131b8ed118d160fff8995905  fossil-src-1.35.tar.gz"