wok-next diff pcre2/receipt @ rev 20532
moc, mypaint: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Mar 26 13:35:23 2018 +0200 (2018-03-26) |
parents | c4e53a39395a |
children | 10df65db91ad |
line diff
1.1 --- a/pcre2/receipt Fri Mar 02 12:12:14 2018 +0200 1.2 +++ b/pcre2/receipt Mon Mar 26 13:35:23 2018 +0200 1.3 @@ -7,6 +7,7 @@ 1.4 MAINTAINER="al.bobylev@gmail.com" 1.5 LICENSE="BSD" 1.6 WEB_SITE="http://www.pcre.org/" 1.7 +LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/pcre2.html" 1.8 1.9 TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.10 WGET_URL="ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/$TARBALL" 1.11 @@ -14,10 +15,7 @@ 1.12 BUILD_DEPENDS="zlib-dev bzip2-dev readline-dev valgrind-dev" 1.13 SPLIT="pcre2-apps pcre2-dev" 1.14 1.15 -# Rules to configure and make the package. 1.16 -compile_rules() 1.17 -{ 1.18 - # http://www.linuxfromscratch.org/blfs/view/stable/general/pcre2.html 1.19 +compile_rules() { 1.20 ./configure \ 1.21 --docdir=/usr/share/doc/pcre2-$VERSION \ 1.22 --enable-unicode \ 1.23 @@ -31,25 +29,16 @@ 1.24 --enable-valgrind \ 1.25 $CONFIGURE_ARGS && 1.26 make && make install 1.27 - 1.28 -# find $install/usr/share/man -type f -exec gzip -9 \{\} \; 1.29 -# for i in $(find $install/usr/share/man -type l); do 1.30 -# dest=$(readlink $i) 1.31 -# rm $i; ln -s $dest.gz $i.gz 1.32 -# done 1.33 } 1.34 1.35 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.36 -genpkg_rules() 1.37 -{ 1.38 +genpkg_rules() { 1.39 case $PACKAGE in 1.40 pcre2) 1.41 copy *.so* 1.42 CAT="system-tools|library" 1.43 ;; 1.44 *-apps) 1.45 - copy @std 1.46 - remove_already_packed 1.47 + copy @std @rm 1.48 DEPENDS="pcre2 bzlib ncurses readline zlib" 1.49 CAT="development|applications" 1.50 ;;