wok-next view pcre2/receipt @ rev 20206
Up PyQt-x11-gpl (4.12.1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Nov 04 09:19:58 2017 +0100 (2017-11-04) |
parents | 7f34d19fe19e |
children | c4e53a39395a |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="pcre2"
4 VERSION="10.23"
5 CATEGORY="system-tools"
6 SHORT_DESC="Perl 5 Compatible Regular Expression 2"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="BSD"
9 WEB_SITE="http://www.pcre.org/"
10 HOST_ARCH="i486 arm"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WGET_URL="ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/$TARBALL"
15 BUILD_DEPENDS="zlib-dev bzip2-dev readline-dev valgrind-dev"
16 SPLIT="pcre2-apps pcre2-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 # http://www.linuxfromscratch.org/blfs/view/stable/general/pcre2.html
22 ./configure \
23 --docdir=/usr/share/doc/pcre2-$VERSION \
24 --enable-unicode \
25 --enable-pcre2-16 \
26 --enable-pcre2-32 \
27 --enable-pcre2grep-libz \
28 --enable-pcre2grep-libbz2 \
29 --enable-pcre2test-libreadline \
30 --disable-static \
31 --enable-jit \
32 --enable-valgrind \
33 $CONFIGURE_ARGS &&
34 make && make install
36 # find $install/usr/share/man -type f -exec gzip -9 \{\} \;
37 # for i in $(find $install/usr/share/man -type l); do
38 # dest=$(readlink $i)
39 # rm $i; ln -s $dest.gz $i.gz
40 # done
41 }
43 # Rules to gen a SliTaz package suitable for Tazpkg.
44 genpkg_rules()
45 {
46 case $PACKAGE in
47 pcre2)
48 copy *.so*
49 CAT="system-tools|library"
50 ;;
51 *-apps)
52 copy @std
53 remove_already_packed
54 DEPENDS="pcre2 bzlib ncurses readline zlib"
55 CAT="development|applications"
56 ;;
57 *-dev)
58 copy @dev
59 ;;
60 esac
61 }