2008-09-22 16:33:35 +02:00
|
|
|
# Description: Perl Compatible Regular Expressions
|
|
|
|
# URL: http://www.pcre.org
|
|
|
|
# Maintainer: CRUX System Team, core-ports at crux dot nu
|
|
|
|
|
|
|
|
name=libpcre
|
2018-03-21 18:06:03 +01:00
|
|
|
version=8.42
|
2015-11-24 11:02:25 +01:00
|
|
|
release=1
|
2018-03-21 18:06:03 +01:00
|
|
|
source=(https://ftp.pcre.org/pub/pcre/pcre-$version.tar.bz2)
|
2008-09-22 16:33:35 +02:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd pcre-$version
|
2015-07-11 10:52:46 +02:00
|
|
|
|
2008-09-22 16:33:35 +02:00
|
|
|
./configure --prefix=/usr \
|
|
|
|
--enable-utf8 \
|
2011-10-28 10:06:39 +02:00
|
|
|
--enable-unicode-properties \
|
|
|
|
--enable-jit
|
2008-09-22 16:33:35 +02:00
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
|
2011-10-31 12:24:47 +01:00
|
|
|
install -d $PKG/lib
|
2012-12-02 11:34:01 +01:00
|
|
|
mv $PKG/usr/lib/libpcre.so.* $PKG/lib
|
|
|
|
ln -sf ../../lib/$(readlink $PKG/usr/lib/libpcre.so) $PKG/usr/lib/libpcre.so
|
2011-10-31 12:24:47 +01:00
|
|
|
|
2015-07-25 23:03:49 +02:00
|
|
|
rm -r $PKG/usr/share/doc
|
|
|
|
rm $PKG/usr/share/man/man3/{pcre{16,32}*,pcre_utf{16,32}*}
|
2008-09-22 16:33:35 +02:00
|
|
|
}
|