From d9836c35822d353f8804a3f329967129ec466b30 Mon Sep 17 00:00:00 2001 From: Francesco Colista Date: Mon, 22 Oct 2012 15:53:13 +0000 Subject: testing/xapian-core: new aport. Fixes #1447 --- testing/xapian-core/APKBUILD | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 testing/xapian-core/APKBUILD (limited to 'testing/xapian-core') diff --git a/testing/xapian-core/APKBUILD b/testing/xapian-core/APKBUILD new file mode 100644 index 000000000..fc9dc4c49 --- /dev/null +++ b/testing/xapian-core/APKBUILD @@ -0,0 +1,39 @@ +# Contributor: Francesco Colista +# 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" -- cgit v1.2.3