wok-next view pcre/receipt @ rev 19807

elementary: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jul 15 12:26:33 2017 +0200 (2017-07-15)
parents 4048d48a47c1
children aef69ec23a2f
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 copy *.so*
43 }