Annotation of /branches/R11-unstable/core/libpcre/libpcre-8.36-r1.smage2
Parent Directory | Revision Log
Revision 24999 -
(hide annotations)
(download)
Tue Nov 25 02:48:03 2014 UTC (9 years, 10 months ago) by niro
File size: 668 byte(s)
Tue Nov 25 02:48:03 2014 UTC (9 years, 10 months ago) by niro
File size: 668 byte(s)
-release branches/R11-unstable
1 | niro | 22345 | # $Id$ |
2 | |||
3 | PNAME="libpcre" | ||
4 | PVER="8.36" | ||
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=">= 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 | } |