diff options
Diffstat (limited to 'main/pcre')
-rw-r--r-- | main/pcre/APKBUILD | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/main/pcre/APKBUILD b/main/pcre/APKBUILD index 6c5bb028a..73cd14605 100644 --- a/main/pcre/APKBUILD +++ b/main/pcre/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=pcre pkgver=8.10 -pkgrel=0 +pkgrel=1 pkgdesc="Perl-compatible regular expression library" url="http://pcre.sourceforge.net" license="BSD" @@ -13,7 +13,6 @@ subpackages="$pkgname-dev $pkgname-doc" build() { cd "$srcdir/$pkgname-$pkgver" ./configure --prefix=/usr \ - --disable-cpp \ --enable-utf8 \ --with-match-limit-recursion=8192 \ --htmldir=/usr/share/doc/$pkgname-$pkgver/html \ @@ -25,6 +24,11 @@ build() { package() { cd "$srcdir/$pkgname-$pkgver" make DESTDIR="$pkgdir" install || return 1 + # REF http://repos.archlinux.org/wsvn/packages/pcre/trunk/PKGBUILD + # grep uses pcre, so we need the libs in /lib + install -dm755 "$pkgdir"/lib + mv "$pkgdir"/usr/lib/libpcre.so.* "$pkgdir"/lib/ + ln -sf ../../lib/libpcre.so.0 "$pkgdir"/usr/lib/libpcre.so } md5sums="780867a700e9d4e4b9cb47aa5453e4b2 pcre-8.10.tar.bz2" |