Magellan Linux

Contents of /smage/branches/alx07x-unstable/extras/libpcre/libpcre-8.44-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 14808 - (show annotations) (download)
Tue Aug 4 12:18:57 2020 UTC (3 years, 8 months ago) by niro
File size: 703 byte(s)
-release branches/alx07x-unstable
1 # $Id$
2
3 PNAME="libpcre"
4 PVER="8.44"
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++-8.4"
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 https://ftp.pcre.org/pub/pcre/${SRCFILE}
22 mirror://${PNAME}/${SRCFILE}
23 )
24
25 UP2DATE="updatecmd https://ftp.pcre.org/pub/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 }