wok view pcre/receipt @ rev 19735
qeum: --disable-attr
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Feb 17 15:43:59 2017 +0100 (2017-02-17) |
parents | c9e270dd464f |
children | 9d254903769e |
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 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.pcre.org/"
11 WGET_URL="ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/$TARBALL"
12 HOST_ARCH="i486 arm"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 ./configure \
18 --prefix=/usr \
19 --enable-pcre16 \
20 --enable-pcre32 \
21 --enable-jit \
22 --enable-unicode-properties \
23 $CONFIGURE_ARGS &&
24 make && make install
26 find $install/usr/share/man -type f -exec gzip -9 \{\} \;
27 for i in $(find $install/usr/share/man -type l); do
28 dest=$(readlink $i)
29 rm $i; ln -s $dest.gz $i.gz
30 done
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/lib
37 cp -a $install/usr/lib/*.so* $fs/usr/lib
38 }