wok-next view pcre/receipt @ rev 19240

Up nano (2.6.1)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Jun 28 01:34:12 2016 +0300 (2016-06-28)
parents c9e270dd464f
children 708211fae5b6
line source
1 # SliTaz package receipt.
3 PACKAGE="pcre"
4 VERSION="8.39"
5 CATEGORY="system-tools"
6 SHORT_DESC="Perl 5 Compatible Regular Expression, library"
7 MAINTAINER="pankso@slitaz.org"
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-pcre16 \
20 --enable-pcre32 \
21 --enable-jit \
22 --enable-unicode-properties \
23 $CONFIGURE_ARGS &&
24 make && make install
26 find $install/usr/share/man -type f -exec gzip -9 \{\} \;
27 for i in $(find $install/usr/share/man -type l); do
28 dest=$(readlink $i)
29 rm $i; ln -s $dest.gz $i.gz
30 done
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/lib
37 cp -a $install/usr/lib/*.so* $fs/usr/lib
38 }