wok view pcre2/receipt @ rev 23282

updated pcre2 and pcre2-dev (10.32 -> 10.34)
author Hans-G?nter Theisgen
date Sun Mar 29 10:35:37 2020 +0100 (2020-03-29)
parents 18de4fe65c9c
children 080c1dff8494
line source
1 # SliTaz package receipt.
3 PACKAGE="pcre2"
4 VERSION="10.34"
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="$SF_MIRROR/pcre/$TARBALL"
14 HOST_ARCH="i486 arm"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 ./configure \
20 --prefix=/usr \
21 --enable-pcre2-16 \
22 --enable-pcre2-32 \
23 --enable-jit \
24 $CONFIGURE_ARGS &&
25 make &&
26 make install
28 find $install/usr/share/man -type f -exec gzip -9 \{\} \;
29 for i in $(find $install/usr/share/man -type l)
30 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 }