wok-next diff pcre/receipt @ rev 20364

Up palemoon (27.6.1)
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Fri Nov 24 05:32:16 2017 +0100 (2017-11-24)
parents f463de72afe3
children 0e7893ac206d
line diff
     1.1 --- a/pcre/receipt	Sun Jun 18 04:38:10 2017 +0300
     1.2 +++ b/pcre/receipt	Fri Nov 24 05:32:16 2017 +0100
     1.3 @@ -1,9 +1,9 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="pcre"
     1.8 -VERSION="8.39"
     1.9 +VERSION="8.40"
    1.10  CATEGORY="system-tools"
    1.11 -SHORT_DESC="Perl 5 Compatible Regular Expression, library"
    1.12 +SHORT_DESC="Perl 5 Compatible Regular Expression"
    1.13  MAINTAINER="pankso@slitaz.org"
    1.14  LICENSE="BSD"
    1.15  WEB_SITE="http://www.pcre.org/"
    1.16 @@ -12,11 +12,13 @@
    1.17  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.18  WGET_URL="ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/$TARBALL"
    1.19  
    1.20 -BUILD_DEPENDS="zlib-dev bzip2-dev readline-dev"
    1.21 +BUILD_DEPENDS="zlib-dev bzip2-dev readline-dev valgrind-dev"
    1.22 +SPLIT="pcre-apps pcre-dev"
    1.23  
    1.24  # Rules to configure and make the package.
    1.25  compile_rules()
    1.26  {
    1.27 +	# http://www.linuxfromscratch.org/blfs/view/stable/general/pcre.html
    1.28  	./configure \
    1.29  		--docdir=/usr/share/doc/pcre-$VERSION \
    1.30  		--enable-unicode-properties \
    1.31 @@ -27,6 +29,7 @@
    1.32  		--enable-pcretest-libreadline \
    1.33  		--disable-static \
    1.34  		--enable-jit \
    1.35 +		--enable-valgrind \
    1.36  		$CONFIGURE_ARGS &&
    1.37  	make && make install &&
    1.38  
    1.39 @@ -39,5 +42,17 @@
    1.40  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.41  genpkg_rules()
    1.42  {
    1.43 -	copy *.so*
    1.44 +	case $PACKAGE in
    1.45 +		pcre)
    1.46 +			copy *.so*
    1.47 +			CAT="system-tools|library"
    1.48 +			;;
    1.49 +		*-apps)
    1.50 +			copy @std
    1.51 +			remove_already_packed
    1.52 +			DEPENDS="pcre bzlib ncurses readline zlib"
    1.53 +			CAT="development|applications"
    1.54 +			;;
    1.55 +		*-dev) copy @dev;;
    1.56 +	esac
    1.57  }