aboutsummaryrefslogtreecommitdiffstats
path: root/testing/judy/APKBUILD
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2013-06-17 12:15:22 +0000
committerCarlo Landmeter <clandmeter@gmail.com>2013-06-17 12:15:22 +0000
commit2041158f416eb7bc846dbe58a4a67f9b6eab6862 (patch)
treefc83df54f6156df020d9bfbb64bb06dfb0a0d246 /testing/judy/APKBUILD
parent8ffcd2e1271f9baf1831f8568df75d977e173073 (diff)
downloadaports-2041158f416eb7bc846dbe58a4a67f9b6eab6862.tar.bz2
aports-2041158f416eb7bc846dbe58a4a67f9b6eab6862.tar.xz
testing/judy: new aport
A C library that implements a dynamic array fixes #2043
Diffstat (limited to 'testing/judy/APKBUILD')
-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"