wok-next annotate 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
rev   line source
al@19814 1 # SliTaz package receipt v2.
al@19221 2
al@19221 3 PACKAGE="pcre2"
al@19814 4 VERSION="10.23"
al@19221 5 CATEGORY="system-tools"
al@19814 6 SHORT_DESC="Perl 5 Compatible Regular Expression 2"
al@19221 7 MAINTAINER="al.bobylev@gmail.com"
al@19221 8 LICENSE="BSD"
al@19814 9 WEB_SITE="http://www.pcre.org/"
al@20513 10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/pcre2.html"
al@19814 11
al@19221 12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
al@19221 13 WGET_URL="ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/$TARBALL"
al@19814 14
al@19814 15 BUILD_DEPENDS="zlib-dev bzip2-dev readline-dev valgrind-dev"
al@19814 16 SPLIT="pcre2-apps pcre2-dev"
al@19221 17
al@20513 18 compile_rules() {
al@19221 19 ./configure \
al@19814 20 --docdir=/usr/share/doc/pcre2-$VERSION \
al@19814 21 --enable-unicode \
al@19221 22 --enable-pcre2-16 \
al@19221 23 --enable-pcre2-32 \
al@19814 24 --enable-pcre2grep-libz \
al@19814 25 --enable-pcre2grep-libbz2 \
al@19814 26 --enable-pcre2test-libreadline \
al@19814 27 --disable-static \
al@19221 28 --enable-jit \
al@19814 29 --enable-valgrind \
al@19221 30 $CONFIGURE_ARGS &&
al@19221 31 make && make install
al@19221 32 }
al@19221 33
al@20513 34 genpkg_rules() {
al@19814 35 case $PACKAGE in
al@19814 36 pcre2)
al@19814 37 copy *.so*
al@19814 38 CAT="system-tools|library"
al@19814 39 ;;
al@19814 40 *-apps)
al@20513 41 copy @std @rm
al@19814 42 DEPENDS="pcre2 bzlib ncurses readline zlib"
al@19814 43 CAT="development|applications"
al@19814 44 ;;
al@19814 45 *-dev)
al@19814 46 copy @dev
al@19814 47 ;;
al@19814 48 esac
al@19221 49 }