wok-next diff pcre2/receipt @ rev 20900

gdk-pixbuf: build man pages; glib-networking: up (2.56.1); glibmm: up (2.56.0); gnupg: up (2.2.9); gsettings-desktop-schemas: up (3.28.0); tint2: up (16.4).
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Jul 21 17:03:50 2018 +0300 (2018-07-21)
parents 10df65db91ad
children f48456621a9d
line diff
     1.1 --- a/pcre2/receipt	Thu Apr 19 13:15:41 2018 +0300
     1.2 +++ b/pcre2/receipt	Sat Jul 21 17:03:50 2018 +0300
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt v2.
     1.5  
     1.6  PACKAGE="pcre2"
     1.7 -VERSION="10.23"
     1.8 +VERSION="10.31"
     1.9  CATEGORY="system-tools"
    1.10  SHORT_DESC="Perl 5 Compatible Regular Expression 2"
    1.11  MAINTAINER="al.bobylev@gmail.com"
    1.12 @@ -10,10 +10,10 @@
    1.13  LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/pcre2.html"
    1.14  
    1.15  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.16 -WGET_URL="ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/$TARBALL"
    1.17 +WGET_URL="$SF_MIRROR/pcre/$TARBALL"
    1.18  
    1.19  BUILD_DEPENDS="zlib-dev bzip2-dev readline-dev valgrind-dev"
    1.20 -SPLIT="pcre2-apps pcre2-dev"
    1.21 +SPLIT="libpcre2-8 libpcre2-16 libpcre2-32 libpcre2-posix pcre2-apps pcre2-dev"
    1.22  
    1.23  compile_rules() {
    1.24  	./configure \
    1.25 @@ -35,12 +35,33 @@
    1.26  genpkg_rules() {
    1.27  	case $PACKAGE in
    1.28  		pcre2)
    1.29 -			copy *.so*
    1.30 -			CAT="system-tools|library"
    1.31 +			CAT="meta|old way compatibility meta-package"
    1.32 +			DEPENDS="libpcre2-8 libpcre2-16 libpcre2-32 libpcre2-posix"
    1.33  			;;
    1.34 -		*-apps)
    1.35 +		libpcre2-8)
    1.36 +			copy libpcre2-8.so*
    1.37 +			CAT="system-tools|PCRE2-8 library"
    1.38 +			DEPENDS=" "
    1.39 +			;;
    1.40 +		libpcre2-16)
    1.41 +			copy libpcre2-16.so*
    1.42 +			CAT="system-tools|PCRE2-16 library"
    1.43 +			DEPENDS=" "
    1.44 +			;;
    1.45 +		libpcre2-32)
    1.46 +			copy libpcre2-32.so*
    1.47 +			CAT="system-tools|PCRE2-32 library"
    1.48 +			DEPENDS=" "
    1.49 +			;;
    1.50 +		libpcre2-posix)
    1.51 +			copy libpcre2-posix.so*
    1.52 +			CAT="system-tools|PCRE2-POSIX library"
    1.53 +			DEPENDS="libpcre2-8"
    1.54 +			;;
    1.55 +		pcre2-apps)
    1.56  			copy @std @rm
    1.57 -			DEPENDS="pcre2 bzlib ncurses readline zlib"
    1.58 +			DEPENDS="libpcre2-8 libpcre2-16 libpcre2-32 libpcre2-posix bzlib \
    1.59 +			readline zlib"
    1.60  			CAT="development|applications"
    1.61  			;;
    1.62  		*-dev)