wok-6.x view pcre/receipt @ rev 19374
Ip dialog (1.3-20160424)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Aug 12 08:42:46 2016 +0200 (2016-08-12) |
parents | c9e270dd464f |
children | 9d254903769e |
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 }