aboutsummaryrefslogtreecommitdiffstats
path: root/testing/xapian-core/APKBUILD
blob: c916fbf61141b58af09bdd4606d110f5a9aa44c7 (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
# Contributor: Francesco Colista <francesco.colista@gmail.com>
# Maintainer: Francesco Colista <francesco.colista@gmail.com>
pkgname=xapian-core
pkgver=1.2.15
pkgrel=0
pkgdesc="Open source search engine library"
url="http://www.xapian.org/"
arch="all"
license="GPL"
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.gz"
_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="3af45069c6a14a7ecad2da24cbc3d2c5  xapian-core-1.2.15.tar.gz"
sha256sums="cde4f5d1b111b66643fa41c11b9e5962bff7ce7244ca34cbbcbd2d2caa0c4df0  xapian-core-1.2.15.tar.gz"
sha512sums="65e34adaf145648b1eca9a9fc189237dba217813154fdaa3a355328837c73306d9a4ab61cd9650651390c80c291dfd2378aec3310623add4eace38168d835f4a  xapian-core-1.2.15.tar.gz"