# HG changeset patch # User Aleksej Bobylev # Date 1466268515 -10800 # Node ID 7f34d19fe19ec6682f5ec20eac418b06974862ab # Parent 4b74c54bbbf20d176ca0359790a675996536daa1 Up pcre (8.39); add pcre2 (10.21). diff -r 4b74c54bbbf2 -r 7f34d19fe19e pcre-dev/receipt --- a/pcre-dev/receipt Fri Jun 17 20:55:45 2016 +0300 +++ b/pcre-dev/receipt Sat Jun 18 19:48:35 2016 +0300 @@ -1,23 +1,21 @@ # SliTaz package receipt. PACKAGE="pcre-dev" -VERSION="8.35" +VERSION="8.39" CATEGORY="development" -SHORT_DESC="Perl Compatible Regular Expressions devel files." +SHORT_DESC="Perl Compatible Regular Expressions, development files" MAINTAINER="pankso@slitaz.org" LICENSE="BSD" -WANTED="pcre" WEB_SITE="http://www.pcre.org/" HOST_ARCH="i486 arm" +WANTED="pcre" DEPENDS="pcre pkg-config" # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr/lib - cp -a $install/usr/lib/*.*a $fs/usr/lib - cp -a $install/usr/lib/pkgconfig $fs/usr/lib - cp -a $install/usr/include $fs/usr - cp -a $install/usr/bin $fs/usr + cp -a $install/* $fs + rm $fs/usr/lib/*.so* + rm -r $fs/usr/share } diff -r 4b74c54bbbf2 -r 7f34d19fe19e pcre/receipt --- a/pcre/receipt Fri Jun 17 20:55:45 2016 +0300 +++ b/pcre/receipt Sat Jun 18 19:48:35 2016 +0300 @@ -1,9 +1,9 @@ # SliTaz package receipt. PACKAGE="pcre" -VERSION="8.35" +VERSION="8.39" CATEGORY="system-tools" -SHORT_DESC="Perl 5 Compatible Regular Expression Library" +SHORT_DESC="Perl 5 Compatible Regular Expression, library" MAINTAINER="pankso@slitaz.org" LICENSE="BSD" TARBALL="$PACKAGE-$VERSION.tar.bz2" @@ -16,11 +16,18 @@ { ./configure \ --prefix=/usr \ - --enable-unicode-properties \ --enable-pcre16 \ --enable-pcre32 \ + --enable-jit \ + --enable-unicode-properties \ $CONFIGURE_ARGS && make && make install + + find $install/usr/share/man -type f -exec gzip -9 \{\} \; + for i in $(find $install/usr/share/man -type l); do + dest=$(readlink $i) + rm $i; ln -s $dest.gz $i.gz + done } # Rules to gen a SliTaz package suitable for Tazpkg. diff -r 4b74c54bbbf2 -r 7f34d19fe19e pcre2-dev/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/pcre2-dev/receipt Sat Jun 18 19:48:35 2016 +0300 @@ -0,0 +1,21 @@ +# SliTaz package receipt. + +PACKAGE="pcre2-dev" +VERSION="10.21" +CATEGORY="development" +SHORT_DESC="Perl Compatible Regular Expressions 2, development files" +MAINTAINER="al.bobylev@gmail.com" +LICENSE="BSD" +WEB_SITE="http://www.pcre.org/" +HOST_ARCH="i486 arm" + +WANTED="pcre2" +DEPENDS="pcre2 pkg-config" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + cp -a $install/* $fs + rm $fs/usr/lib/*.so* + rm -r $fs/usr/share +} diff -r 4b74c54bbbf2 -r 7f34d19fe19e pcre2/description.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/pcre2/description.txt Sat Jun 18 19:48:35 2016 +0300 @@ -0,0 +1,5 @@ +PCRE2 is a library of functions to support regular expressions whose syntax and +semantics are as close as possible to those of the Perl 5 language. + +Also included in the distribution is a just-in-time compiler that can be used +to optimize pattern matching. diff -r 4b74c54bbbf2 -r 7f34d19fe19e pcre2/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/pcre2/receipt Sat Jun 18 19:48:35 2016 +0300 @@ -0,0 +1,37 @@ +# SliTaz package receipt. + +PACKAGE="pcre2" +VERSION="10.21" +CATEGORY="system-tools" +SHORT_DESC="Perl 5 Compatible Regular Expression 2, library" +MAINTAINER="al.bobylev@gmail.com" +LICENSE="BSD" +TARBALL="$PACKAGE-$VERSION.tar.bz2" +WEB_SITE="http://www.pcre.org/" +WGET_URL="ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/$TARBALL" +HOST_ARCH="i486 arm" + +# Rules to configure and make the package. +compile_rules() +{ + ./configure \ + --prefix=/usr \ + --enable-pcre2-16 \ + --enable-pcre2-32 \ + --enable-jit \ + $CONFIGURE_ARGS && + make && make install + + find $install/usr/share/man -type f -exec gzip -9 \{\} \; + for i in $(find $install/usr/share/man -type l); do + dest=$(readlink $i) + rm $i; ln -s $dest.gz $i.gz + done +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $install/usr/lib/*.so* $fs/usr/lib +}