wok-next annotate pcre2/receipt @ rev 21727

created recipe for vbindiff
author Hans-G?nter Theisgen
date Sat Nov 21 14:32:44 2020 +0100 (2020-11-21)
parents d5aab818505e
children
rev   line source
al@19814 1 # SliTaz package receipt v2.
al@19221 2
al@19221 3 PACKAGE="pcre2"
al@20657 4 VERSION="10.31"
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@21017 10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/general/pcre2.html"
al@19814 11
al@19221 12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
al@20657 13 WGET_URL="$SF_MIRROR/pcre/$TARBALL"
al@19814 14
al@19814 15 BUILD_DEPENDS="zlib-dev bzip2-dev readline-dev valgrind-dev"
al@21020 16 SPLIT="libpcre2-8 libpcre2-16 libpcre2-32 libpcre2-posix $PACKAGE-apps \
al@21020 17 $PACKAGE-dev"
al@19221 18
al@20513 19 compile_rules() {
al@19221 20 ./configure \
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@20604 31 fix libtool &&
al@20604 32 make &&
al@20604 33 make install
al@19221 34 }
al@19221 35
al@20513 36 genpkg_rules() {
al@19814 37 case $PACKAGE in
al@19814 38 pcre2)
al@20657 39 CAT="meta|old way compatibility meta-package"
al@20657 40 DEPENDS="libpcre2-8 libpcre2-16 libpcre2-32 libpcre2-posix"
al@19814 41 ;;
al@20657 42 libpcre2-8)
al@20657 43 copy libpcre2-8.so*
al@20657 44 CAT="system-tools|PCRE2-8 library"
al@20657 45 DEPENDS=" "
al@20657 46 ;;
al@20657 47 libpcre2-16)
al@20657 48 copy libpcre2-16.so*
al@20657 49 CAT="system-tools|PCRE2-16 library"
al@20657 50 DEPENDS=" "
al@20657 51 ;;
al@20657 52 libpcre2-32)
al@20657 53 copy libpcre2-32.so*
al@20657 54 CAT="system-tools|PCRE2-32 library"
al@20657 55 DEPENDS=" "
al@20657 56 ;;
al@20657 57 libpcre2-posix)
al@20657 58 copy libpcre2-posix.so*
al@20657 59 CAT="system-tools|PCRE2-POSIX library"
al@20657 60 DEPENDS="libpcre2-8"
al@20657 61 ;;
al@20657 62 pcre2-apps)
al@20513 63 copy @std @rm
al@21105 64 DEPENDS="libpcre2-8 libpcre2-16 libpcre2-32 libpcre2-posix libbzip2 \
al@20657 65 readline zlib"
al@19814 66 CAT="development|applications"
al@19814 67 ;;
al@19814 68 *-dev)
al@19814 69 copy @dev
al@19814 70 ;;
al@19814 71 esac
al@19221 72 }