Magellan Linux

Contents of /smage/branches/alx07x-stable/extras/libpcre/libpcre-8.43-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 13630 - (show annotations) (download)
Fri Jul 12 12:09:44 2019 UTC (4 years, 9 months ago) by niro
File size: 751 byte(s)
-release branches/alx07x-stable
1 # $Id$
2
3 PNAME="libpcre"
4 PVER="8.43"
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 ALX_PKG_KEEP="usr/$(mlibdir)/*.so.*"
18 sminclude mbuild alx-split
19
20 SRC_URI=(
21 ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/${SRCFILE}
22 mirror://${PNAME}/${SRCFILE}
23 )
24
25 UP2DATE="updatecmd ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/ | grep '${PNAME/lib/}-' | highesttarball"
26
27 src_compile()
28 {
29 cd ${SRCDIR}
30
31 export CFLAGS="${CFLAGS} -fPIC"
32 export CXXFLAGS="${CFLAGS}"
33
34 mconfigure --enable-utf8 || die
35
36 # does not like optimations > -j1
37 mmake -j1 || die
38 }