Contents of /smage/branches/alx07x-stable/extras/libpcre/libpcre-8.42-r1.smage2
Parent Directory | Revision Log
Revision 12792 -
(show annotations)
(download)
Fri Oct 26 08:45:55 2018 UTC (5 years, 11 months ago) by niro
File size: 751 byte(s)
Fri Oct 26 08:45:55 2018 UTC (5 years, 11 months ago) by niro
File size: 751 byte(s)
-release branches/alx07x-stable
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 | 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 | } |