wok-6.x view pcre/receipt @ rev 21667

updated pcre and pcre-dev (8.39 -> 8.43)
author Hans-G?nter Theisgen
date Sat Jun 01 14:26:34 2019 +0100 (2019-06-01)
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 }