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