wok-next view pcre/receipt @ rev 19715

Fix building: pciutils, pcmanfm-legacy, arj
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat May 13 17:25:31 2017 +0300 (2017-05-13)
parents 708211fae5b6
children f463de72afe3
line source
1 # SliTaz package receipt.
3 PACKAGE="pcre"
4 VERSION="8.39"
5 CATEGORY="system-tools"
6 SHORT_DESC="Perl 5 Compatible Regular Expression, library"
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"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 ./configure \
21 --docdir=/usr/share/doc/pcre-$VERSION \
22 --enable-unicode-properties \
23 --enable-pcre16 \
24 --enable-pcre32 \
25 --enable-pcregrep-libz \
26 --enable-pcregrep-libbz2 \
27 --enable-pcretest-libreadline \
28 --disable-static \
29 --enable-jit \
30 $CONFIGURE_ARGS &&
31 make && make install &&
33 mkdir -p $install/lib &&
34 mv -v $install/usr/lib/libpcre.so.* $install/lib &&
35 ln -sfv ../../lib/$(readlink $install/usr/lib/libpcre.so) \
36 $install/usr/lib/libpcre.so
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 cook_copy_files *.so*
43 }