wok view pcre/receipt @ rev 22810
Add squidanalyser
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jan 31 12:24:59 2020 +0100 (2020-01-31) |
parents | 7f34d19fe19e |
children | ab547e2cda64 |
line source
1 # SliTaz package receipt.
3 PACKAGE="pcre"
4 VERSION="8.43"
5 CATEGORY="system-tools"
6 SHORT_DESC="Perl 5 Compatible Regular Expression, library."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="https://www.pcre.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/$TARBALL"
13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
15 HOST_ARCH="i486 arm"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 ./configure \
21 --prefix=/usr \
22 --enable-pcre16 \
23 --enable-pcre32 \
24 --enable-jit \
25 --enable-unicode-properties \
26 $CONFIGURE_ARGS &&
27 make &&
28 make install
30 find $install/usr/share/man -type f -exec gzip -9 \{\} \;
31 for i in $(find $install/usr/share/man -type l); do
32 dest=$(readlink $i)
33 rm $i; ln -s $dest.gz $i.gz
34 done
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr/lib
41 cp -a $install/usr/lib/*.so* $fs/usr/lib
42 }