blob: 4d5a5e07993086ae0edf5a4fc6221c6c2a903ece (
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
37
38
39
40
41
42
|
# Contributor: Francesco Colista <francesco.colista@gmail.com>
# Maintainer: Francesco Colista <francesco.colista@gmail.com>
pkgname=xapian-core
pkgver=1.2.17
pkgrel=1
pkgdesc="Open source search engine library"
url="http://www.xapian.org/"
arch="all"
license="GPL2+"
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.xz"
_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="493117bf45e5471e86b4fc5d6d8069dc xapian-core-1.2.17.tar.xz"
sha256sums="e79d45b0f30e62cfe51294a731291b903d9b33fc82ac2b26ab710866002cc6de xapian-core-1.2.17.tar.xz"
sha512sums="6c5395274291a8d13ec8a34c733d658301b2a6aee259135b50e91c8539a3b41c7f9d9df024ea718961ee3ed8ddd920f68a997dd021a0b3b449652c0ad6987851 xapian-core-1.2.17.tar.xz"
|