wok-6.x view pcre2/receipt @ rev 20154
dropbear, openssh: typo
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Dec 18 21:44:24 2017 +0100 (2017-12-18) |
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 }