Magellan Linux

Annotation of /smage/trunk/extras/libpcre/libpcre-8.42-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 11874 - (hide annotations) (download)
Thu Aug 16 09:13:42 2018 UTC (5 years, 8 months ago) by niro
File size: 751 byte(s)
auto added: ver bump to 8.42-r1
1 niro 11874 # $Id$
2    
3     PNAME="libpcre"
4     PVER="8.42"
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     ALX_PKG_KEEP="usr/$(mlibdir)/*.so.*"
18     sminclude mbuild alx-split
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/ | grep '${PNAME/lib/}-' | highesttarball"
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     }