source: custom/examples/941-pcre@ e674994

ablfs-more legacy trunk
Last change on this file since e674994 was 9543675, checked in by Pierre Labastie <pierre@…>, 9 years ago

Update custom/examples. Thanks to Tom Armistead for the patch.

  • Property mode set to 100644
File size: 1013 bytes
Line 
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
12PATCH1="http://www.linuxfromscratch.org/patches/blfs/7.8/pcre-8.37-upstream_fixes-1.patch 718c4314fba52ed559c75ff7660cc391"
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.