aboutsummaryrefslogtreecommitdiffstats
path: root/main/pcre/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-09-17 08:34:54 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-09-17 08:34:54 +0000
commit4d5e7c840f3d5530ea1ca5df0b8a7372e96f8e93 (patch)
tree6616fa76b6210ad63f1476f84df71ebe85b5779e /main/pcre/APKBUILD
parent487fdccb71a32fde1e9d8fd06e056fc5c73a32e6 (diff)
downloadaports-4d5e7c840f3d5530ea1ca5df0b8a7372e96f8e93.tar.bz2
aports-4d5e7c840f3d5530ea1ca5df0b8a7372e96f8e93.tar.xz
main/pcre: put libcprecpp in subpackage
Diffstat (limited to 'main/pcre/APKBUILD')
-rw-r--r--main/pcre/APKBUILD12
1 files changed, 9 insertions, 3 deletions
diff --git a/main/pcre/APKBUILD b/main/pcre/APKBUILD
index 73cd146057..3aaf190ea3 100644
--- a/main/pcre/APKBUILD
+++ b/main/pcre/APKBUILD
@@ -1,14 +1,14 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=pcre
pkgver=8.10
-pkgrel=1
+pkgrel=2
pkgdesc="Perl-compatible regular expression library"
url="http://pcre.sourceforge.net"
license="BSD"
depends=
-makedepends=""
+makedepends=
source="ftp://ftp.csx.cam.ac.uk/pub/software/programming/$pkgname/$pkgname-$pkgver.tar.bz2"
-subpackages="$pkgname-dev $pkgname-doc"
+subpackages="$pkgname-dev $pkgname-doc libpcrecpp"
build() {
cd "$srcdir/$pkgname-$pkgver"
@@ -31,4 +31,10 @@ package() {
ln -sf ../../lib/libpcre.so.0 "$pkgdir"/usr/lib/libpcre.so
}
+libpcrecpp() {
+ pkgdesc="C++ bindings for PCRE"
+ mkdir -p "$subpkgdir"/usr/lib
+ mv "$pkgdir"/usr/lib/libpcrecpp.so* "$subpkgdir"/usr/lib/
+}
+
md5sums="780867a700e9d4e4b9cb47aa5453e4b2 pcre-8.10.tar.bz2"