wok-next view pcre2/receipt @ rev 21196

updated scrollz again (2.2.3 -> 2.3)
author Hans-G?nter Theisgen
date Thu Oct 03 16:09:40 2019 +0100 (2019-10-03)
parents d5aab818505e
children
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/svn/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 $PACKAGE-apps \
17 $PACKAGE-dev"
19 compile_rules() {
20 ./configure \
21 --enable-unicode \
22 --enable-pcre2-16 \
23 --enable-pcre2-32 \
24 --enable-pcre2grep-libz \
25 --enable-pcre2grep-libbz2 \
26 --enable-pcre2test-libreadline \
27 --disable-static \
28 --enable-jit \
29 --enable-valgrind \
30 $CONFIGURE_ARGS &&
31 fix libtool &&
32 make &&
33 make install
34 }
36 genpkg_rules() {
37 case $PACKAGE in
38 pcre2)
39 CAT="meta|old way compatibility meta-package"
40 DEPENDS="libpcre2-8 libpcre2-16 libpcre2-32 libpcre2-posix"
41 ;;
42 libpcre2-8)
43 copy libpcre2-8.so*
44 CAT="system-tools|PCRE2-8 library"
45 DEPENDS=" "
46 ;;
47 libpcre2-16)
48 copy libpcre2-16.so*
49 CAT="system-tools|PCRE2-16 library"
50 DEPENDS=" "
51 ;;
52 libpcre2-32)
53 copy libpcre2-32.so*
54 CAT="system-tools|PCRE2-32 library"
55 DEPENDS=" "
56 ;;
57 libpcre2-posix)
58 copy libpcre2-posix.so*
59 CAT="system-tools|PCRE2-POSIX library"
60 DEPENDS="libpcre2-8"
61 ;;
62 pcre2-apps)
63 copy @std @rm
64 DEPENDS="libpcre2-8 libpcre2-16 libpcre2-32 libpcre2-posix libbzip2 \
65 readline zlib"
66 CAT="development|applications"
67 ;;
68 *-dev)
69 copy @dev
70 ;;
71 esac
72 }