wok annotate pcre2/receipt @ rev 19780

liblxqt-dev; update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Feb 22 08:30:33 2017 +0100 (2017-02-22)
parents
children 18de4fe65c9c
rev   line source
al@19221 1 # SliTaz package receipt.
al@19221 2
al@19221 3 PACKAGE="pcre2"
al@19221 4 VERSION="10.21"
al@19221 5 CATEGORY="system-tools"
al@19221 6 SHORT_DESC="Perl 5 Compatible Regular Expression 2, library"
al@19221 7 MAINTAINER="al.bobylev@gmail.com"
al@19221 8 LICENSE="BSD"
al@19221 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
al@19221 10 WEB_SITE="http://www.pcre.org/"
al@19221 11 WGET_URL="ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/$TARBALL"
al@19221 12 HOST_ARCH="i486 arm"
al@19221 13
al@19221 14 # Rules to configure and make the package.
al@19221 15 compile_rules()
al@19221 16 {
al@19221 17 ./configure \
al@19221 18 --prefix=/usr \
al@19221 19 --enable-pcre2-16 \
al@19221 20 --enable-pcre2-32 \
al@19221 21 --enable-jit \
al@19221 22 $CONFIGURE_ARGS &&
al@19221 23 make && make install
al@19221 24
al@19221 25 find $install/usr/share/man -type f -exec gzip -9 \{\} \;
al@19221 26 for i in $(find $install/usr/share/man -type l); do
al@19221 27 dest=$(readlink $i)
al@19221 28 rm $i; ln -s $dest.gz $i.gz
al@19221 29 done
al@19221 30 }
al@19221 31
al@19221 32 # Rules to gen a SliTaz package suitable for Tazpkg.
al@19221 33 genpkg_rules()
al@19221 34 {
al@19221 35 mkdir -p $fs/usr/lib
al@19221 36 cp -a $install/usr/lib/*.so* $fs/usr/lib
al@19221 37 }