Magellan Linux

Annotation of /trunk/extras/libpcre2/libpcre2-10.31-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 30776 - (hide annotations) (download)
Tue Apr 3 12:18:28 2018 UTC (6 years, 2 months ago) by niro
File size: 771 byte(s)
auto added: ver bump to 10.31-r1
1 niro 30776 # $Id$
2    
3     PNAME="libpcre2"
4     PVER="10.31"
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++-6.3
13     >= sys-libs/readline-7.0
14     >= sys-libs/zlib-1.2.8
15     >= app-arch/bzip2-1"
16    
17     SRCFILE="${PNAME/lib/}-${PVER}.tar.bz2"
18     SRCDIR="${BUILDDIR}/${PNAME/lib/}-${PVER}"
19    
20     sminclude mbuild
21    
22     SRC_URI=(
23     https://ftp.pcre.org/pub/pcre/${SRCFILE}
24     mirror://${PNAME}/${SRCFILE}
25     )
26    
27     UP2DATE="updatecmd https://ftp.pcre.org/pub/pcre/ | grep '${PNAME/lib/}-' | highesttarball"
28    
29     src_compile()
30     {
31     cd ${SRCDIR}
32    
33     mconfigure \
34     --enable-pcre2-16 \
35     --enable-pcre2-32 \
36     --enable-jit \
37     --enable-pcre2grep-libz \
38     --enable-pcre2grep-libbz2 \
39     --enable-pcre2test-libreadline \
40     || die
41    
42     mmake || die
43     }