From 732fcde0a316b0a006b95a84a89ddcb803159590 Mon Sep 17 00:00:00 2001 From: Carlo Landmeter Date: Wed, 15 Sep 2010 23:28:18 +0000 Subject: main/pcre: moved libs and enabled cpp --- main/pcre/APKBUILD | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'main/pcre/APKBUILD') diff --git a/main/pcre/APKBUILD b/main/pcre/APKBUILD index 6c5bb028ae..73cd146057 100644 --- a/main/pcre/APKBUILD +++ b/main/pcre/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Natanael Copa 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" -- cgit v1.2.3