Contents of /branches/magellan-next/core/libpcre/libpcre-8.20-r1.smage2
Parent Directory | Revision Log
Revision 9091 -
(show annotations)
(download)
Wed Nov 2 15:56:20 2011 UTC (12 years, 10 months ago) by niro
File size: 674 byte(s)
Wed Nov 2 15:56:20 2011 UTC (12 years, 10 months ago) by niro
File size: 674 byte(s)
auto added: ver bump to 8.20-r1
1 | # $Id$ |
2 | |
3 | PNAME="libpcre" |
4 | PVER="8.20" |
5 | PBUILD="r1" |
6 | |
7 | PCATEGORIE="dev-libs" |
8 | |
9 | DESCRIPTION="PCRE - Perl Compatible Regular Expressions." |
10 | HOMEPAGE="http://www.pcre.org/" |
11 | |
12 | DEPEND=">= virtual/glibc" |
13 | |
14 | SRCFILE="${PNAME/lib/}-${PVER}.tar.bz2" |
15 | SRCDIR="${BUILDDIR}/${PNAME/lib/}-${PVER}" |
16 | |
17 | sminclude mbuild |
18 | |
19 | SRC_URI=( |
20 | ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/${SRCFILE} |
21 | mirror://${PNAME}/${SRCFILE} |
22 | ) |
23 | |
24 | UP2DATE="updatecmd ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/ | lasttarball" |
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 | } |