summaryrefslogtreecommitdiffstats
path: root/testing/xapian-omega
diff options
context:
space:
mode:
authorFrancesco Colista <francesco.colista@gmail.com>2012-10-24 13:26:31 +0000
committerFrancesco Colista <francesco.colista@gmail.com>2012-10-24 13:26:31 +0000
commite7405eb24cf67cc40be4f91d294ef11e6ffc35da (patch)
treeb610075522b4033bbb8209f48be245968ec615f7 /testing/xapian-omega
parentf2578fb3b4a2daa778e06fdb5b9ddeb89ab1fabb (diff)
downloadaports-e7405eb24cf67cc40be4f91d294ef11e6ffc35da.tar.bz2
aports-e7405eb24cf67cc40be4f91d294ef11e6ffc35da.tar.xz
testing/xapian-omega: new aport
Diffstat (limited to 'testing/xapian-omega')
-rw-r--r--testing/xapian-omega/APKBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/testing/xapian-omega/APKBUILD b/testing/xapian-omega/APKBUILD
new file mode 100644
index 000000000..0592a1dbc
--- /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"