Magellan Linux

Annotation of /branches/magellan-next/core/libpcre/libpcre-8.12-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 7638 - (hide annotations) (download)
Fri May 27 21:14:26 2011 UTC (13 years ago) by niro
File size: 691 byte(s)
auto added: ver bump to 8.12-r1
1 niro 7638 # $Id$
2    
3     PNAME="libpcre"
4     PVER="8.12"
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     }