wok annotate pcre2/receipt @ rev 21784
Update powermanga (thanks Rene Rivero)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jul 21 10:32:10 2019 +0200 (2019-07-21) |
parents | 7f34d19fe19e |
children | 38896e180d6c |
rev | line source |
---|---|
al@19221 | 1 # SliTaz package receipt. |
al@19221 | 2 |
al@19221 | 3 PACKAGE="pcre2" |
Hans-G?nter@21668 | 4 VERSION="10.32" |
al@19221 | 5 CATEGORY="system-tools" |
Hans-G?nter@21668 | 6 SHORT_DESC="Perl 5 Compatible Regular Expression 2, library." |
al@19221 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@19221 | 8 LICENSE="BSD" |
Hans-G?nter@21668 | 9 WEB_SITE="https://www.pcre.org/" |
Hans-G?nter@21668 | 10 |
al@19221 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
al@19221 | 12 WGET_URL="ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/$TARBALL" |
Hans-G?nter@21668 | 13 WGET_URL="$SF_MIRROR/pcre/$TARBALL" |
Hans-G?nter@21668 | 14 |
al@19221 | 15 HOST_ARCH="i486 arm" |
al@19221 | 16 |
al@19221 | 17 # Rules to configure and make the package. |
al@19221 | 18 compile_rules() |
al@19221 | 19 { |
Hans-G?nter@21668 | 20 ./configure \ |
Hans-G?nter@21668 | 21 --prefix=/usr \ |
Hans-G?nter@21668 | 22 --enable-pcre2-16 \ |
Hans-G?nter@21668 | 23 --enable-pcre2-32 \ |
Hans-G?nter@21668 | 24 --enable-jit \ |
al@19221 | 25 $CONFIGURE_ARGS && |
Hans-G?nter@21668 | 26 make && |
Hans-G?nter@21668 | 27 make install |
al@19221 | 28 |
al@19221 | 29 find $install/usr/share/man -type f -exec gzip -9 \{\} \; |
al@19221 | 30 for i in $(find $install/usr/share/man -type l); do |
al@19221 | 31 dest=$(readlink $i) |
al@19221 | 32 rm $i; ln -s $dest.gz $i.gz |
al@19221 | 33 done |
al@19221 | 34 } |
al@19221 | 35 |
al@19221 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@19221 | 37 genpkg_rules() |
al@19221 | 38 { |
al@19221 | 39 mkdir -p $fs/usr/lib |
al@19221 | 40 cp -a $install/usr/lib/*.so* $fs/usr/lib |
al@19221 | 41 } |