wok-next view pcre2/receipt @ rev 20690

add missing SHA256sums
author Erkan Yilmaz <erkan@slitaz.org>
date Mon May 21 19:36:47 2018 +0000 (2018-05-21)
parents 10df65db91ad
children f48456621a9d
line source
1 # SliTaz package receipt v2.
3 PACKAGE="pcre2"
4 VERSION="10.31"
5 CATEGORY="system-tools"
6 SHORT_DESC="Perl 5 Compatible Regular Expression 2"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="BSD"
9 WEB_SITE="http://www.pcre.org/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/pcre2.html"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WGET_URL="$SF_MIRROR/pcre/$TARBALL"
15 BUILD_DEPENDS="zlib-dev bzip2-dev readline-dev valgrind-dev"
16 SPLIT="libpcre2-8 libpcre2-16 libpcre2-32 libpcre2-posix pcre2-apps pcre2-dev"
18 compile_rules() {
19 ./configure \
20 --enable-unicode \
21 --enable-pcre2-16 \
22 --enable-pcre2-32 \
23 --enable-pcre2grep-libz \
24 --enable-pcre2grep-libbz2 \
25 --enable-pcre2test-libreadline \
26 --disable-static \
27 --enable-jit \
28 --enable-valgrind \
29 $CONFIGURE_ARGS &&
30 fix libtool &&
31 make &&
32 make install
33 }
35 genpkg_rules() {
36 case $PACKAGE in
37 pcre2)
38 CAT="meta|old way compatibility meta-package"
39 DEPENDS="libpcre2-8 libpcre2-16 libpcre2-32 libpcre2-posix"
40 ;;
41 libpcre2-8)
42 copy libpcre2-8.so*
43 CAT="system-tools|PCRE2-8 library"
44 DEPENDS=" "
45 ;;
46 libpcre2-16)
47 copy libpcre2-16.so*
48 CAT="system-tools|PCRE2-16 library"
49 DEPENDS=" "
50 ;;
51 libpcre2-32)
52 copy libpcre2-32.so*
53 CAT="system-tools|PCRE2-32 library"
54 DEPENDS=" "
55 ;;
56 libpcre2-posix)
57 copy libpcre2-posix.so*
58 CAT="system-tools|PCRE2-POSIX library"
59 DEPENDS="libpcre2-8"
60 ;;
61 pcre2-apps)
62 copy @std @rm
63 DEPENDS="libpcre2-8 libpcre2-16 libpcre2-32 libpcre2-posix bzlib \
64 readline zlib"
65 CAT="development|applications"
66 ;;
67 *-dev)
68 copy @dev
69 ;;
70 esac
71 }