ablfs-more
legacy
trunk
Last change
on this file since ce244f6 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 | #
|
---|
4 | PKG="pcre"
|
---|
5 | PKG_VERSION="8.37"
|
---|
6 | PKG_FILE="pcre-8.37.tar.bz2"
|
---|
7 | URL="ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/${PKG_FILE}"
|
---|
8 | MD5="ed91be292cb01d21bc7e526816c26981"
|
---|
9 | for i in PATCH{1..10}; do
|
---|
10 | unset $i
|
---|
11 | done
|
---|
12 | PATCH1="http://www.linuxfromscratch.org/patches/blfs/7.8/pcre-8.37-upstream_fixes-1.patch 718c4314fba52ed559c75ff7660cc391"
|
---|
13 |
|
---|
14 | ( cat << "xEOFx"
|
---|
15 | patch -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 &&
|
---|
26 | make
|
---|
27 | make install &&
|
---|
28 | mv -v /usr/lib/libpcre.so.* /lib &&
|
---|
29 | ln -sfv ../../lib/$(readlink /usr/lib/libpcre.so) /usr/lib/libpcre.so
|
---|
30 | xEOFx
|
---|
31 | ) > tmp
|
---|
Note:
See
TracBrowser
for help on using the repository browser.