wok-current view pcre/receipt @ rev 24055
Add current_version for most github hosted softwares
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jun 08 08:46:05 2021 +0000 (2021-06-08) |
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 }