diff options
-rw-r--r-- | main/pcre/APKBUILD | 12 |
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" |