wok-6.x view pcre/receipt @ rev 22418
libxfce4util: build fails for 4.14, using last release 4.12: error: expected ')' before 'GObject'
author | Erkan Yilmaz <erkan@slitaz.org> |
---|---|
date | Sun Dec 15 08:33:18 2019 +0000 (2019-12-15) |
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 }