wok view pcre2/receipt @ rev 20194

Up autofs (5.1.4), btrfs-progs (4.15), cifs-utils (6.7), davfs2 (1.5.4), dosfstools (4.1), e2fsprogs (1.43.9), f2fs-tools (1.10.0), moosefs (3.0.100), milfs-utils (2.2.7), owfs (3.2p1)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Feb 12 13:54:33 2018 +0100 (2018-02-12)
parents
children 18de4fe65c9c
line source
1 # SliTaz package receipt.
3 PACKAGE="pcre2"
4 VERSION="10.21"
5 CATEGORY="system-tools"
6 SHORT_DESC="Perl 5 Compatible Regular Expression 2, library"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="BSD"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.pcre.org/"
11 WGET_URL="ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/$TARBALL"
12 HOST_ARCH="i486 arm"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 ./configure \
18 --prefix=/usr \
19 --enable-pcre2-16 \
20 --enable-pcre2-32 \
21 --enable-jit \
22 $CONFIGURE_ARGS &&
23 make && make install
25 find $install/usr/share/man -type f -exec gzip -9 \{\} \;
26 for i in $(find $install/usr/share/man -type l); do
27 dest=$(readlink $i)
28 rm $i; ln -s $dest.gz $i.gz
29 done
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/lib
36 cp -a $install/usr/lib/*.so* $fs/usr/lib
37 }