source: custom/examples/941-pcre@ 240d928

ablfs-more legacy trunk
Last change on this file since 240d928 was 2257bd7, checked in by Pierre Labastie <pierre.labastie@…>, 3 years ago

Update and fix documentation of custom tools

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