Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 9574 - (hide annotations) (download)
Mon Dec 12 16:44:17 2011 UTC (12 years, 5 months ago) by niro
File size: 674 byte(s)
auto added: ver bump to 8.21-r1
1 niro 9574 # $Id$
2    
3     PNAME="libpcre"
4     PVER="8.21"
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     }