blob: 23b997de01bd9da1ecff5854fd3a35d8b6c837d4 (
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
35
36
37
38
39
40
|
# Contributor: Paul Onyschuk <blink@bojary.koba.pl>
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: tcely <fossil+aports@tcely.33mail.com>
pkgname=fossil
pkgver=2.8
pkgrel=0
pkgdesc="Simple, high-reliability, distributed software configuration management"
url="https://www.fossil-scm.org"
arch="all"
license="BSD-2-Clause"
options="!check" # missing tcl modules
depends=""
# add tcllib when it is packaged
checkdepends="coreutils ed"
makedepends="openssl-dev sqlite-dev tcl-dev zlib-dev"
source="https://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
make TCC="${CC:-gcc} $CFLAGS"
}
check() {
cd "$builddir"
make TESTFLAGS="-quiet -halt" test
}
package() {
cd "$builddir"
install -Dm 755 $pkgname "$pkgdir"/usr/bin/$pkgname
}
sha512sums="5c6a8dc1545c43b3c95fbbec343db023e27a9db58f282a881bb7e488e3e26a0f7913a41f505dedf618b884507e48956780bd0e12482e184345d68edd1e79ff8e fossil-src-2.8.tar.gz"
|