wok-current rev 19221

Up pcre (8.39); add pcre2 (10.21).
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Jun 18 19:48:35 2016 +0300 (2016-06-18)
parents 4b74c54bbbf2
children 8563f3c36069
files pcre-dev/receipt pcre/receipt pcre2-dev/receipt pcre2/description.txt pcre2/receipt
line diff
     1.1 --- a/pcre-dev/receipt	Fri Jun 17 20:55:45 2016 +0300
     1.2 +++ b/pcre-dev/receipt	Sat Jun 18 19:48:35 2016 +0300
     1.3 @@ -1,23 +1,21 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="pcre-dev"
     1.7 -VERSION="8.35"
     1.8 +VERSION="8.39"
     1.9  CATEGORY="development"
    1.10 -SHORT_DESC="Perl Compatible Regular Expressions devel files."
    1.11 +SHORT_DESC="Perl Compatible Regular Expressions, development files"
    1.12  MAINTAINER="pankso@slitaz.org"
    1.13  LICENSE="BSD"
    1.14 -WANTED="pcre"
    1.15  WEB_SITE="http://www.pcre.org/"
    1.16  HOST_ARCH="i486 arm"
    1.17  
    1.18 +WANTED="pcre"
    1.19  DEPENDS="pcre pkg-config"
    1.20  
    1.21  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.22  genpkg_rules()
    1.23  {
    1.24 -    mkdir -p $fs/usr/lib
    1.25 -    cp -a $install/usr/lib/*.*a $fs/usr/lib
    1.26 -    cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    1.27 -    cp -a $install/usr/include $fs/usr
    1.28 -    cp -a $install/usr/bin $fs/usr
    1.29 +	cp -a $install/* $fs
    1.30 +	rm $fs/usr/lib/*.so*
    1.31 +	rm -r $fs/usr/share
    1.32  }
     2.1 --- a/pcre/receipt	Fri Jun 17 20:55:45 2016 +0300
     2.2 +++ b/pcre/receipt	Sat Jun 18 19:48:35 2016 +0300
     2.3 @@ -1,9 +1,9 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="pcre"
     2.7 -VERSION="8.35"
     2.8 +VERSION="8.39"
     2.9  CATEGORY="system-tools"
    2.10 -SHORT_DESC="Perl 5 Compatible Regular Expression Library"
    2.11 +SHORT_DESC="Perl 5 Compatible Regular Expression, library"
    2.12  MAINTAINER="pankso@slitaz.org"
    2.13  LICENSE="BSD"
    2.14  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    2.15 @@ -16,11 +16,18 @@
    2.16  {
    2.17  	./configure \
    2.18  		--prefix=/usr \
    2.19 -		--enable-unicode-properties \
    2.20  		--enable-pcre16 \
    2.21  		--enable-pcre32 \
    2.22 +		--enable-jit \
    2.23 +		--enable-unicode-properties \
    2.24  		$CONFIGURE_ARGS &&
    2.25  	make && make install
    2.26 +
    2.27 +	find $install/usr/share/man -type f -exec gzip -9 \{\} \;
    2.28 +	for i in $(find $install/usr/share/man -type l); do
    2.29 +		dest=$(readlink $i)
    2.30 +		rm $i; ln -s $dest.gz $i.gz
    2.31 +	done
    2.32  }
    2.33  
    2.34  # Rules to gen a SliTaz package suitable for Tazpkg.
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/pcre2-dev/receipt	Sat Jun 18 19:48:35 2016 +0300
     3.3 @@ -0,0 +1,21 @@
     3.4 +# SliTaz package receipt.
     3.5 +
     3.6 +PACKAGE="pcre2-dev"
     3.7 +VERSION="10.21"
     3.8 +CATEGORY="development"
     3.9 +SHORT_DESC="Perl Compatible Regular Expressions 2, development files"
    3.10 +MAINTAINER="al.bobylev@gmail.com"
    3.11 +LICENSE="BSD"
    3.12 +WEB_SITE="http://www.pcre.org/"
    3.13 +HOST_ARCH="i486 arm"
    3.14 +
    3.15 +WANTED="pcre2"
    3.16 +DEPENDS="pcre2 pkg-config"
    3.17 +
    3.18 +# Rules to gen a SliTaz package suitable for Tazpkg.
    3.19 +genpkg_rules()
    3.20 +{
    3.21 +	cp -a $install/* $fs
    3.22 +	rm $fs/usr/lib/*.so*
    3.23 +	rm -r $fs/usr/share
    3.24 +}
     4.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/pcre2/description.txt	Sat Jun 18 19:48:35 2016 +0300
     4.3 @@ -0,0 +1,5 @@
     4.4 +PCRE2 is a library of functions to support regular expressions whose syntax and
     4.5 +semantics are as close as possible to those of the Perl 5 language.
     4.6 +
     4.7 +Also included in the distribution is a just-in-time compiler that can be used
     4.8 +to optimize pattern matching.
     5.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.2 +++ b/pcre2/receipt	Sat Jun 18 19:48:35 2016 +0300
     5.3 @@ -0,0 +1,37 @@
     5.4 +# SliTaz package receipt.
     5.5 +
     5.6 +PACKAGE="pcre2"
     5.7 +VERSION="10.21"
     5.8 +CATEGORY="system-tools"
     5.9 +SHORT_DESC="Perl 5 Compatible Regular Expression 2, library"
    5.10 +MAINTAINER="al.bobylev@gmail.com"
    5.11 +LICENSE="BSD"
    5.12 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    5.13 +WEB_SITE="http://www.pcre.org/"
    5.14 +WGET_URL="ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/$TARBALL"
    5.15 +HOST_ARCH="i486 arm"
    5.16 +
    5.17 +# Rules to configure and make the package.
    5.18 +compile_rules()
    5.19 +{
    5.20 +	./configure \
    5.21 +		--prefix=/usr \
    5.22 +		--enable-pcre2-16 \
    5.23 +		--enable-pcre2-32 \
    5.24 +		--enable-jit \
    5.25 +		$CONFIGURE_ARGS &&
    5.26 +	make && make install
    5.27 +
    5.28 +	find $install/usr/share/man -type f -exec gzip -9 \{\} \;
    5.29 +	for i in $(find $install/usr/share/man -type l); do
    5.30 +		dest=$(readlink $i)
    5.31 +		rm $i; ln -s $dest.gz $i.gz
    5.32 +	done
    5.33 +}
    5.34 +
    5.35 +# Rules to gen a SliTaz package suitable for Tazpkg.
    5.36 +genpkg_rules()
    5.37 +{
    5.38 +	mkdir -p $fs/usr/lib
    5.39 +	cp -a $install/usr/lib/*.so* $fs/usr/lib
    5.40 +}