wok-next diff pcre2/receipt @ rev 19814
Up gpicview, libunique, lxappearance-obconf, lxde-icon-theme, lxinput, lxrandr, lxsession, lxtask, openbox, pcre, pcre2, tazpkg, tcc, vte. Add lsb-release, lxde-common. Remove libunique-gtk3 (break build, no one depends on it, and deprecated by gnome itself), lguest (part of "linux" receipt), libmysqlclient (part of "mysql" receipt).
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Jul 21 14:44:00 2017 +0300 (2017-07-21) |
parents | 7f34d19fe19e |
children | c4e53a39395a |
line diff
1.1 --- a/pcre2/receipt Sat Jun 18 19:48:35 2016 +0300 1.2 +++ b/pcre2/receipt Fri Jul 21 14:44:00 2017 +0300 1.3 @@ -1,37 +1,61 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="pcre2" 1.8 -VERSION="10.21" 1.9 +VERSION="10.23" 1.10 CATEGORY="system-tools" 1.11 -SHORT_DESC="Perl 5 Compatible Regular Expression 2, library" 1.12 +SHORT_DESC="Perl 5 Compatible Regular Expression 2" 1.13 MAINTAINER="al.bobylev@gmail.com" 1.14 LICENSE="BSD" 1.15 +WEB_SITE="http://www.pcre.org/" 1.16 +HOST_ARCH="i486 arm" 1.17 + 1.18 TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.19 -WEB_SITE="http://www.pcre.org/" 1.20 WGET_URL="ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/$TARBALL" 1.21 -HOST_ARCH="i486 arm" 1.22 + 1.23 +BUILD_DEPENDS="zlib-dev bzip2-dev readline-dev valgrind-dev" 1.24 +SPLIT="pcre2-apps pcre2-dev" 1.25 1.26 # Rules to configure and make the package. 1.27 compile_rules() 1.28 { 1.29 + # http://www.linuxfromscratch.org/blfs/view/stable/general/pcre2.html 1.30 ./configure \ 1.31 - --prefix=/usr \ 1.32 + --docdir=/usr/share/doc/pcre2-$VERSION \ 1.33 + --enable-unicode \ 1.34 --enable-pcre2-16 \ 1.35 --enable-pcre2-32 \ 1.36 + --enable-pcre2grep-libz \ 1.37 + --enable-pcre2grep-libbz2 \ 1.38 + --enable-pcre2test-libreadline \ 1.39 + --disable-static \ 1.40 --enable-jit \ 1.41 + --enable-valgrind \ 1.42 $CONFIGURE_ARGS && 1.43 make && make install 1.44 1.45 - find $install/usr/share/man -type f -exec gzip -9 \{\} \; 1.46 - for i in $(find $install/usr/share/man -type l); do 1.47 - dest=$(readlink $i) 1.48 - rm $i; ln -s $dest.gz $i.gz 1.49 - done 1.50 +# find $install/usr/share/man -type f -exec gzip -9 \{\} \; 1.51 +# for i in $(find $install/usr/share/man -type l); do 1.52 +# dest=$(readlink $i) 1.53 +# rm $i; ln -s $dest.gz $i.gz 1.54 +# done 1.55 } 1.56 1.57 # Rules to gen a SliTaz package suitable for Tazpkg. 1.58 genpkg_rules() 1.59 { 1.60 - mkdir -p $fs/usr/lib 1.61 - cp -a $install/usr/lib/*.so* $fs/usr/lib 1.62 + case $PACKAGE in 1.63 + pcre2) 1.64 + copy *.so* 1.65 + CAT="system-tools|library" 1.66 + ;; 1.67 + *-apps) 1.68 + copy @std 1.69 + remove_already_packed 1.70 + DEPENDS="pcre2 bzlib ncurses readline zlib" 1.71 + CAT="development|applications" 1.72 + ;; 1.73 + *-dev) 1.74 + copy @dev 1.75 + ;; 1.76 + esac 1.77 }