summaryrefslogtreecommitdiffstats
path: root/main/pcre/APKBUILD
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2010-09-15 23:28:18 +0000
committerCarlo Landmeter <clandmeter@gmail.com>2010-09-15 23:28:18 +0000
commit732fcde0a316b0a006b95a84a89ddcb803159590 (patch)
tree9b6a1612002c6f250a4e0a0669781fc124c63bff /main/pcre/APKBUILD
parent8cb2e4459f3e714a255d65226234751351934736 (diff)
downloadaports-732fcde0a316b0a006b95a84a89ddcb803159590.tar.bz2
aports-732fcde0a316b0a006b95a84a89ddcb803159590.tar.xz
main/pcre: moved libs and enabled cpp
Diffstat (limited to 'main/pcre/APKBUILD')
-rw-r--r--main/pcre/APKBUILD8
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"