Magellan Linux

Contents of /trunk/core/libpcre/libpcre-8.42-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 30727 - (show annotations) (download)
Thu Mar 22 13:01:24 2018 UTC (6 years, 1 month ago) by niro
File size: 656 byte(s)
auto added: ver bump to 8.42-r1
1 # $Id$
2
3 PNAME="libpcre"
4 PVER="8.42"
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++-5.3"
13
14 SRCFILE="${PNAME/lib/}-${PVER}.tar.bz2"
15 SRCDIR="${BUILDDIR}/${PNAME/lib/}-${PVER}"
16
17 sminclude mbuild
18
19 SRC_URI=(
20 https://ftp.pcre.org/pub/pcre/${SRCFILE}
21 mirror://${PNAME}/${SRCFILE}
22 )
23
24 UP2DATE="updatecmd https://ftp.pcre.org/pub/pcre/ | grep '${PNAME/lib/}-' | highesttarball"
25
26 src_compile()
27 {
28 cd ${SRCDIR}
29
30 export CFLAGS="${CFLAGS} -fPIC"
31 export CXXFLAGS="${CFLAGS}"
32
33 mconfigure --enable-utf8 || die
34
35 # does not like optimations > -j1
36 mmake -j1 || die
37 }