aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2014-11-25 09:14:27 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2014-11-25 09:29:16 +0000
commite841d686040753a310f0477217058d7198a5ac3b (patch)
tree9d6a811011d161710a5bc8ba05c177121aac4665 /testing
parent4f5e1f546534c952585120e1b690aed0c4ec949d (diff)
downloadaports-e841d686040753a310f0477217058d7198a5ac3b.tar.bz2
aports-e841d686040753a310f0477217058d7198a5ac3b.tar.xz
testing/xapian-core: split libxapian in subpkg, bumped pkgrel
Diffstat (limited to 'testing')
-rw-r--r--testing/xapian-core/APKBUILD12
1 files changed, 10 insertions, 2 deletions
diff --git a/testing/xapian-core/APKBUILD b/testing/xapian-core/APKBUILD
index 5f2e0ba46f..5551c774e4 100644
--- a/testing/xapian-core/APKBUILD
+++ b/testing/xapian-core/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Francesco Colista <francesco.colista@gmail.com>
pkgname=xapian-core
pkgver=1.2.19
-pkgrel=0
+pkgrel=1
pkgdesc="Open source search engine library"
url="http://www.xapian.org/"
arch="all"
@@ -11,7 +11,7 @@ depends=""
depends_dev="zlib-dev libgcc e2fsprogs-dev libtool"
makedepends="$depends_dev"
install=""
-subpackages="$pkgname-dev $pkgname-doc"
+subpackages="$pkgname-dev $pkgname-doc libxapian"
source="http://oligarchy.co.uk/xapian/$pkgver/$pkgname-$pkgver.tar.xz"
_builddir="$srcdir"/$pkgname-$pkgver
@@ -37,6 +37,14 @@ package() {
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"