wok view pcre/receipt @ rev 23973

Up openconnect (8.10), openexr (2.5.3), openldap (2.4.55), openssh (8.4p1), openvswitch (2.14.0), phpmyadmin (5.0.4), rust (1.47.0), shellinabox (2.21)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Oct 28 12:04:50 2020 +0000 (2020-10-28)
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 }