aboutsummaryrefslogtreecommitdiffstats
path: root/testing/judy
diff options
context:
space:
mode:
Diffstat (limited to 'testing/judy')
-rw-r--r--testing/judy/APKBUILD47
1 files changed, 47 insertions, 0 deletions
diff --git a/testing/judy/APKBUILD b/testing/judy/APKBUILD
new file mode 100644
index 0000000000..ea4d77a3fa
--- /dev/null
+++ b/testing/judy/APKBUILD
@@ -0,0 +1,47 @@
+# Contributor: Carlo Landmeter <clandmeter@gmail.com>
+# Maintainer:
+pkgname=judy
+pkgver=1.0.5
+pkgrel=0
+pkgdesc="C library creating and accessing dynamic arrays"
+url="http://judy.sourceforge.net/"
+arch="all"
+license="LGPL"
+depends=""
+depends_dev=""
+makedepends="$depends_dev"
+install=""
+subpackages="$pkgname-dev $pkgname-doc"
+source="http://kent.dl.sourceforge.net/project/judy/judy/Judy-$pkgver/Judy-$pkgver.tar.gz"
+
+_builddir="$srcdir"/judy-$pkgver
+prepare() {
+ local i
+ cd "$_builddir"
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
+}
+
+build() {
+ cd "$_builddir"
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --localstatedir=/var \
+ || return 1
+ make -j1 || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make -j1 DESTDIR="$pkgdir" install || return 1
+ rm -f "$pkgdir"/usr/lib/*.la
+}
+
+md5sums="115a0d26302676e962ae2f70ec484a54 Judy-1.0.5.tar.gz"
+sha256sums="d2704089f85fdb6f2cd7e77be21170ced4b4375c03ef1ad4cf1075bd414a63eb Judy-1.0.5.tar.gz"
+sha512sums="1a0d59b092c80d95270a3089cd25ee0ddad1d591101b03784e2e46dfc73bce445a7fb495b449043544a366c09b35b833556053bf3bf65dd00abbd786d26c6980 Judy-1.0.5.tar.gz"