wok view pcre2/receipt @ rev 22781

updated freetype and freetype-dev (2.6.4 -> 2.10.1)
author Hans-G?nter Theisgen
date Sun Jan 26 09:26:49 2020 +0100 (2020-01-26)
parents 7f34d19fe19e
children 38896e180d6c
line source
1 # SliTaz package receipt.
3 PACKAGE="pcre2"
4 VERSION="10.32"
5 CATEGORY="system-tools"
6 SHORT_DESC="Perl 5 Compatible Regular Expression 2, library."
7 MAINTAINER="al.bobylev@gmail.com"
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/pcre/$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-pcre2-16 \
23 --enable-pcre2-32 \
24 --enable-jit \
25 $CONFIGURE_ARGS &&
26 make &&
27 make install
29 find $install/usr/share/man -type f -exec gzip -9 \{\} \;
30 for i in $(find $install/usr/share/man -type l); do
31 dest=$(readlink $i)
32 rm $i; ln -s $dest.gz $i.gz
33 done
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/lib
40 cp -a $install/usr/lib/*.so* $fs/usr/lib
41 }