Magellan Linux

Contents of /trunk/extras/libpcre2/libpcre2-10.32-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 31840 - (show annotations) (download)
Tue Dec 18 10:29:27 2018 UTC (5 years, 4 months ago) by niro
File size: 771 byte(s)
auto added: ver bump to 10.32-r1
1 # $Id$
2
3 PNAME="libpcre2"
4 PVER="10.32"
5 PBUILD="r1"
6
7 PCAT="dev-libs"
8
9 DESCRIPTION="PCRE - Perl Compatible Regular Expressions."
10 HOMEPAGE="http://www.pcre.org/"
11
12 DEPEND=">= sys-libs/libstdc++-6.3
13 >= sys-libs/readline-7.0
14 >= sys-libs/zlib-1.2.8
15 >= app-arch/bzip2-1"
16
17 SRCFILE="${PNAME/lib/}-${PVER}.tar.bz2"
18 SRCDIR="${BUILDDIR}/${PNAME/lib/}-${PVER}"
19
20 sminclude mbuild
21
22 SRC_URI=(
23 https://ftp.pcre.org/pub/pcre/${SRCFILE}
24 mirror://${PNAME}/${SRCFILE}
25 )
26
27 UP2DATE="updatecmd https://ftp.pcre.org/pub/pcre/ | grep '${PNAME/lib/}-' | highesttarball"
28
29 src_compile()
30 {
31 cd ${SRCDIR}
32
33 mconfigure \
34 --enable-pcre2-16 \
35 --enable-pcre2-32 \
36 --enable-jit \
37 --enable-pcre2grep-libz \
38 --enable-pcre2grep-libbz2 \
39 --enable-pcre2test-libreadline \
40 || die
41
42 mmake || die
43 }