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