milis/talimatname/genel/p/pcre2/talimat

29 lines
652 B
Plaintext
Raw Normal View History

2017-10-27 20:46:27 +02:00
# Tanım: Perl ile Uyumlu Normal İfade kütüphaneleri (2nci vers.)
2017-07-25 19:26:38 +02:00
# URL: http://www.pcre.org/
2017-10-27 20:46:27 +02:00
# Paketçi: yasarciv67@gmail.com
# Gerekler:
2017-07-25 19:26:38 +02:00
2017-10-28 14:10:23 +02:00
isim=pcre2
surum=10.22
devir=1
2017-07-25 19:26:38 +02: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-07-25 19:26:38 +02:00
PKGMK_GROUPS=(devel man doc)
2017-10-27 23:59:41 +02:00
derle() {
2017-10-28 14:10:23 +02:00
cd $isim-$surum
2017-07-25 19:26:38 +02: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 \
2017-07-25 19:26:38 +02:00
--enable-unicode-properties \
--enable-pcre2-16 \
--enable-pcre2-32 \
--enable-pcre2grep-libz \
--enable-pcre2grep-libbz2 \
--enable-pcre2test-libreadline \
--disable-static
make
make DESTDIR=$PKG install
}