wok-6.x view pcre2/receipt @ rev 19488
Update SliTaz projects: slitaz-base-files (312), slitaz-configs (295), slitaz-doc (158), slitaz-tools (1004), tazinst (83), tazlito (439), tazpanel (606), tazpkg (927), tazusb (192), tazweb (172).
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Nov 12 13:09:26 2016 +0200 (2016-11-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 }