milis/talimatname/genel/p/pcre/talimat

31 lines
726 B
Plaintext
Raw Normal View History

2017-10-27 20:46:27 +02:00
# Tanım: Perl ile Uyumlu Normal İfade kütüphaneleri.
2016-02-24 01:27:23 +01:00
# URL: http://www.pcre.org/
2017-10-27 20:46:27 +02:00
# Paketçi: milisarge
# Gerekler:
2016-02-24 01:27:23 +01:00
2017-10-28 14:10:23 +02:00
isim=pcre
surum=8.38
devir=1
2016-02-24 01:27:23 +01:00
2017-10-28 14:10:23 +02:00
kaynak=( ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/$isim-$surum.tar.bz2 )
2017-10-27 23:59:41 +02:00
derle() {
2017-10-28 14:10:23 +02:00
cd $isim-$surum
2016-02-24 01:27:23 +01:00
[ "${CARCH}" = "x86_64" ] && export CFLAGS="${CFLAGS} -fPIC"
./configure --prefix=/usr \
2017-10-28 14:10:23 +02:00
--docdir=/usr/share/doc/pcre-$surum \
2016-02-24 01:27:23 +01:00
--enable-unicode-properties \
--enable-pcre16 \
--enable-pcre32 \
--enable-pcregrep-libz \
--enable-pcregrep-libbz2 \
--enable-pcretest-libreadline \
--disable-static
make
make DESTDIR=$PKG install
mkdir $PKG/lib
mv -v $PKG/usr/lib/libpcre.so.* $PKG/lib
ln -sfv ../../lib/$(readlink $PKG/usr/lib/libpcre.so) $PKG/usr/lib/libpcre.so
}