diff options
Diffstat (limited to 'testing/xapian-omega/APKBUILD')
-rw-r--r-- | testing/xapian-omega/APKBUILD | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/testing/xapian-omega/APKBUILD b/testing/xapian-omega/APKBUILD new file mode 100644 index 0000000000..0592a1dbca --- /dev/null +++ b/testing/xapian-omega/APKBUILD @@ -0,0 +1,36 @@ +# Contributor: Francesco Colista <francesco.colista@gmail.com> +# Maintainer: Francesco Colista <francesco.colista@gmail.com> +pkgname=xapian-omega +pkgver=1.2.12 +pkgrel=0 +pkgdesc="Indexers and CGI search frontend for Xapian" +url="http://www.xapian.org/" +arch="all" +license="GPL2" +depends="" +depends_dev="xapian-core-dev perl-dev pcre-dev zlib-dev" +makedepends="$depends_dev" +install="" +subpackages="$pkgname-doc" +source="http://oligarchy.co.uk/xapian/${pkgver}/$pkgname-$pkgver.tar.gz" +_builddir="$srcdir"/$pkgname-$pkgver +prepare() { + cd "$_builddir" + sed -i -e "s/std::getchar/getchar/g" urldecode.h +} + +build() { + cd "$_builddir" + ./configure XAPIAN_CONFIG=/usr/bin/xapian-config \ + --prefix=/usr \ + --sysconfdir=/etc \ + --enable-static=no + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR=$pkgdir install || return 1 +} + +md5sums="7eed3c1e9e6acb703d6587ed9a038265 xapian-omega-1.2.12.tar.gz" |