Contents of /branches/magellan-next/core/libpcre/libpcre-8.10-r1.smage2
Parent Directory | Revision Log
Revision 5981 -
(show annotations)
(download)
Tue Aug 17 21:24:02 2010 UTC (14 years, 1 month ago) by niro
File size: 747 byte(s)
Tue Aug 17 21:24:02 2010 UTC (14 years, 1 month ago) by niro
File size: 747 byte(s)
auto added: ver bump to 8.10-r1
1 | # $Id: libpcre-8.00-r1.smage2 3492 2009-10-22 21:31:55Z niro $ |
2 | |
3 | PNAME="libpcre" |
4 | PVER="8.10" |
5 | PBUILD="r1" |
6 | |
7 | PCATEGORIE="dev-libs" |
8 | STATE="unstable" |
9 | |
10 | DESCRIPTION="PCRE - Perl Compatible Regular Expressions." |
11 | HOMEPAGE="http://www.pcre.org/" |
12 | |
13 | DEPEND=">= virtual/glibc" |
14 | |
15 | SRCFILE="${PNAME/lib/}-${PVER}.tar.bz2" |
16 | SRCDIR="${BUILDDIR}/${PNAME/lib/}-${PVER}" |
17 | |
18 | sminclude mbuild |
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/ | lasttarball" |
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 | } |