wok-current view pcre/receipt @ rev 22372
kivy: added build dependencies
author | Hans-G?nter Theisgen |
---|---|
date | Tue Nov 26 17:42:45 2019 +0100 (2019-11-26) |
parents | 7f34d19fe19e |
children | ab547e2cda64 |
line source
1 # SliTaz package receipt.
3 PACKAGE="pcre"
4 VERSION="8.43"
5 CATEGORY="system-tools"
6 SHORT_DESC="Perl 5 Compatible Regular Expression, library."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="https://www.pcre.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/$TARBALL"
13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
15 HOST_ARCH="i486 arm"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 ./configure \
21 --prefix=/usr \
22 --enable-pcre16 \
23 --enable-pcre32 \
24 --enable-jit \
25 --enable-unicode-properties \
26 $CONFIGURE_ARGS &&
27 make &&
28 make install
30 find $install/usr/share/man -type f -exec gzip -9 \{\} \;
31 for i in $(find $install/usr/share/man -type l); do
32 dest=$(readlink $i)
33 rm $i; ln -s $dest.gz $i.gz
34 done
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr/lib
41 cp -a $install/usr/lib/*.so* $fs/usr/lib
42 }