blob: 5551c774e4f87ac21f29a4abbe36d8411eef5e45 (
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
43
44
45
46
47
48
49
50
|
# Contributor: Francesco Colista <francesco.colista@gmail.com>
# Maintainer: Francesco Colista <francesco.colista@gmail.com>
pkgname=xapian-core
pkgver=1.2.19
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 libxapian"
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
}
libxapian() {
arch="all"
cd "$_builddir"
pkgdesc="Xapian search engine library"
install -d "$subpkgdir"/usr/lib
mv "$pkgdir"/usr/lib/$subpkgname* "$subpkgdir"/usr/lib
}
md5sums="54ec8333757eb94dbde76d31d185af91 xapian-core-1.2.19.tar.xz"
sha256sums="4a78260388ff1b042f0ab5d18afdd524a530ae609690d0339990ddc147a54785 xapian-core-1.2.19.tar.xz"
sha512sums="5cd29b8c278b4fa652f947cd6689945bbe239c95425344d0fedb445bf1534198333844d91e6e59cf870043066f4dc511cd0268071916002e96bd38b59aa91c1b xapian-core-1.2.19.tar.xz"
|