blob: 0592a1dbcaed2528b847643d51b7025a3e0f8489 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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"
|