aboutsummaryrefslogtreecommitdiffstats
path: root/testing/xapian-core
diff options
context:
space:
mode:
authorFrancesco Colista <francesco.colista@gmail.com>2012-10-22 15:53:13 +0000
committerFrancesco Colista <francesco.colista@gmail.com>2012-10-22 15:53:13 +0000
commitd9836c35822d353f8804a3f329967129ec466b30 (patch)
treec06587ac3d1979381f568021f8649ffa934c5a34 /testing/xapian-core
parentce95a5b57de16d961d1f8be7eb4ef12b440b4e9e (diff)
downloadaports-d9836c35822d353f8804a3f329967129ec466b30.tar.bz2
aports-d9836c35822d353f8804a3f329967129ec466b30.tar.xz
testing/xapian-core: new aport. Fixes #1447
Diffstat (limited to 'testing/xapian-core')
-rw-r--r--testing/xapian-core/APKBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/testing/xapian-core/APKBUILD b/testing/xapian-core/APKBUILD
new file mode 100644
index 0000000000..fc9dc4c495
--- /dev/null
+++ b/testing/xapian-core/APKBUILD
@@ -0,0 +1,39 @@
+# Contributor: Francesco Colista <francesco.colista@gmail.com>
+# Maintainer:
+pkgname=xapian-core
+pkgver=1.2.12
+pkgrel=0
+pkgdesc="Open source search engine library"
+url="http://www.xapian.org/"
+arch="all"
+license="GPL"
+depends=""
+depends_dev="zlib-dev libgcc e2fsprogs-dev libtool"
+makedepends="$depends_dev"
+install=""
+subpackages="$pkgname-dev $pkgname-doc"
+source="http://oligarchy.co.uk/xapian/$pkgver/$pkgname-$pkgver.tar.gz"
+_builddir="$srcdir"/$pkgname-$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 || return 1
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+ rm -f "$pkgdir"/usr/lib/*.la
+}
+
+md5sums="faf33a3945edbe4c848627750856cbeb xapian-core-1.2.12.tar.gz"