aboutsummaryrefslogtreecommitdiffstats
path: root/main/fossil/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2015-08-13 11:16:07 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2015-08-13 11:17:28 +0200
commitcd7b4cebe97bb98b8bfbd03a1e2e49485591e8e6 (patch)
treedfc3d382ccac6d1575ef7ad7d40a3223e1f30516 /main/fossil/APKBUILD
parent19ee0e50d4173016c303e85483f2b09f675e380c (diff)
downloadaports-cd7b4cebe97bb98b8bfbd03a1e2e49485591e8e6.tar.bz2
aports-cd7b4cebe97bb98b8bfbd03a1e2e49485591e8e6.tar.xz
main/fossil: move from testing, claim maintainership
Diffstat (limited to 'main/fossil/APKBUILD')
-rw-r--r--main/fossil/APKBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/main/fossil/APKBUILD b/main/fossil/APKBUILD
new file mode 100644
index 0000000000..da689c0266
--- /dev/null
+++ b/main/fossil/APKBUILD
@@ -0,0 +1,33 @@
+# Contributor: Paul Onyschuk <blink@bojary.koba.pl>
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=fossil
+pkgver=1.33
+pkgrel=1
+pkgdesc="Simple, high-reliability, distributed software configuration management"
+url="http://www.fossil-scm.org"
+arch="all"
+license="BSD"
+depends=""
+makedepends="openssl-dev zlib-dev"
+source="http://www.fossil-scm.org/download/$pkgname-src-$pkgver.tar.gz"
+
+_builddir="$srcdir"/$pkgname-src-$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="53f8145084a2065d6cb734980c172c7e fossil-src-1.33.tar.gz"
+sha256sums="6295c48289456f09e86099988058a12148dbe0051b72d413b4dff7216d6a7f3e fossil-src-1.33.tar.gz"
+sha512sums="8d00c3fd49e62b39c49f60232e847decd1870278e23ea20dea34a42386e90a7bdd539d8a4c98394586afe34d7923a4369ae68cecf21aa3cb80b9ea9422a55d08 fossil-src-1.33.tar.gz"