Magellan Linux

Annotation of /trunk/core/libpcre/libpcre-8.41-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 29627 - (hide annotations) (download)
Thu Jul 6 14:22:56 2017 UTC (6 years, 10 months ago) by niro
File size: 704 byte(s)
auto added: ver bump to 8.41-r1
1 niro 29627 # $Id$
2    
3     PNAME="libpcre"
4     PVER="8.41"
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=">= sys-libs/libstdc++-5.3"
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/ | grep '${PNAME/lib/}-' | highesttarball"
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     }