wok-next view pcre/receipt @ rev 19819
gstreamer0: update for the new bison version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jul 29 12:09:11 2017 +0200 (2017-07-29) |
parents | f463de72afe3 |
children | 0e7893ac206d |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="pcre"
4 VERSION="8.40"
5 CATEGORY="system-tools"
6 SHORT_DESC="Perl 5 Compatible Regular Expression"
7 MAINTAINER="pankso@slitaz.org"
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="pcre-apps pcre-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 # http://www.linuxfromscratch.org/blfs/view/stable/general/pcre.html
22 ./configure \
23 --docdir=/usr/share/doc/pcre-$VERSION \
24 --enable-unicode-properties \
25 --enable-pcre16 \
26 --enable-pcre32 \
27 --enable-pcregrep-libz \
28 --enable-pcregrep-libbz2 \
29 --enable-pcretest-libreadline \
30 --disable-static \
31 --enable-jit \
32 --enable-valgrind \
33 $CONFIGURE_ARGS &&
34 make && make install &&
36 mkdir -p $install/lib &&
37 mv -v $install/usr/lib/libpcre.so.* $install/lib &&
38 ln -sfv ../../lib/$(readlink $install/usr/lib/libpcre.so) \
39 $install/usr/lib/libpcre.so
40 }
42 # Rules to gen a SliTaz package suitable for Tazpkg.
43 genpkg_rules()
44 {
45 case $PACKAGE in
46 pcre)
47 copy *.so*
48 CAT="system-tools|library"
49 ;;
50 *-apps)
51 copy @std
52 remove_already_packed
53 DEPENDS="pcre bzlib ncurses readline zlib"
54 CAT="development|applications"
55 ;;
56 *-dev) copy @dev;;
57 esac
58 }