wok-6.x view pcre/receipt @ rev 23853

Up alsa-utils (1.2.2)
author Richard Dunbar <mojo@slitaz.org>
date Mon Jun 15 17:30:36 2020 -0400 (2020-06-15)
parents 9d254903769e
children ee53899c6189
line source
1 # SliTaz package receipt.
3 PACKAGE="pcre"
4 VERSION="8.44"
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="$SF_MIRROR/$PACKAGE/$TARBALL"
14 HOST_ARCH="i486 arm"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 ./configure \
20 --prefix=/usr \
21 --enable-pcre16 \
22 --enable-pcre32 \
23 --enable-jit \
24 --enable-unicode-properties \
25 $CONFIGURE_ARGS &&
26 make &&
27 make install
29 find $install/usr/share/man -type f -exec gzip -9 \{\} \;
30 for i in $(find $install/usr/share/man -type l)
31 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 }