wok-6.x view pcre2/receipt @ rev 22033

Add fs-uae
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Oct 21 10:33:44 2019 +0300 (2019-10-21)
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 }