Contents of /smage/trunk/extras/libpcre/libpcre-8.44-r1.smage2
Parent Directory | Revision Log
Revision 14016 -
(show annotations)
(download)
Thu Jul 2 12:21:24 2020 UTC (4 years, 2 months ago) by niro
File size: 703 byte(s)
Thu Jul 2 12:21:24 2020 UTC (4 years, 2 months ago) by niro
File size: 703 byte(s)
auto added: ver bump to 8.44-r1
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 | } |