source: custom/examples/941-pcre@ 1352172

ablfs-more trunk
Last change on this file since 1352172 was fd4a798, checked in by Pierre Labastie <pierre.labastie@…>, 3 years ago

Remove $Id$ comments, they are useless with git

  • Property mode set to 100644
File size: 1009 bytes
RevLine 
[9543675]1PKG="pcre"
2PKG_VERSION="8.37"
3PKG_FILE="pcre-8.37.tar.bz2"
4URL="ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/${PKG_FILE}"
5MD5="ed91be292cb01d21bc7e526816c26981"
6for i in PATCH{1..10}; do
7 unset $i
8done
[2257bd7]9PATCH1="https://www.linuxfromscratch.org/patches/downloads/pcre/pcre-8.37-upstream_fixes-1.patch 718c4314fba52ed559c75ff7660cc391"
[9543675]10
11( cat << "xEOFx"
12patch -Np1 -i ../pcre-8.37-upstream_fixes-1.patch &&
13
14./configure --prefix=/usr \
15 --docdir=/usr/share/doc/pcre-8.37 \
16 --enable-unicode-properties \
17 --enable-pcre16 \
18 --enable-pcre32 \
19 --enable-pcregrep-libz \
20 --enable-pcregrep-libbz2 \
21 --enable-pcretest-libreadline \
22 --disable-static &&
23make
24make install &&
25mv -v /usr/lib/libpcre.so.* /lib &&
26ln -sfv ../../lib/$(readlink /usr/lib/libpcre.so) /usr/lib/libpcre.so
27xEOFx
28) > tmp
Note: See TracBrowser for help on using the repository browser.