wok-next view pcre/receipt @ rev 20632

gegl: fix packing
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Apr 27 10:53:56 2018 +0300 (2018-04-27)
parents d43bf7aae921
children b863487b8e7a
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 LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/pcre.html"
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 compile_rules() {
19 ./configure \
20 --enable-unicode-properties \
21 --enable-pcre16 \
22 --enable-pcre32 \
23 --enable-pcregrep-libz \
24 --enable-pcregrep-libbz2 \
25 --enable-pcretest-libreadline \
26 --disable-static \
27 --enable-jit \
28 --enable-valgrind \
29 $CONFIGURE_ARGS &&
30 fix libtool &&
31 make &&
32 make install || return 1
34 mkdir -p $install/lib
35 mv -v $install/usr/lib/libpcre.so.* $install/lib
36 ln -sfv ../../lib/$(readlink $install/usr/lib/libpcre.so) \
37 $install/usr/lib/libpcre.so
38 }
40 genpkg_rules() {
41 case $PACKAGE in
42 pcre)
43 copy *.so*
44 CAT="system-tools|library"
45 ;;
46 *-apps)
47 copy @std @rm
48 DEPENDS="pcre bzlib ncurses readline zlib"
49 CAT="development|applications"
50 ;;
51 *-dev) copy @dev;;
52 esac
53 }