milis/talimatname/genel/p/pcre2/talimat

30 lines
671 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Tanım: Perl ile Uyumlu Normal İfade kütüphaneleri (sürüm 2)
# URL: http://www.pcre.org/
# Paketçi: yasarciv67@gmail.com
# Gerekler:
# Grup: kütüphane
isim=pcre2
surum=10.22
devir=1
kaynak=( ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/$isim-$surum.tar.bz2 )
PKGMK_GROUPS=(devel man doc)
derle() {
cd $isim-$surum
[ "${CARCH}" = "x86_64" ] && export CFLAGS="${CFLAGS} -fPIC"
./configure --prefix=/usr \
--docdir=/usr/share/doc/pcre-$surum \
--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
}