wok-6.x annotate pcre2/receipt @ rev 23892
Fix coturn & grub4dos
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jul 25 17:02:18 2020 +0000 (2020-07-25) |
parents | 18de4fe65c9c |
children | 080c1dff8494 |
rev | line source |
---|---|
al@19221 | 1 # SliTaz package receipt. |
al@19221 | 2 |
al@19221 | 3 PACKAGE="pcre2" |
Hans-G?nter@23282 | 4 VERSION="10.34" |
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" |
Hans-G?nter@21668 | 12 WGET_URL="$SF_MIRROR/pcre/$TARBALL" |
Hans-G?nter@21668 | 13 |
al@19221 | 14 HOST_ARCH="i486 arm" |
al@19221 | 15 |
al@19221 | 16 # Rules to configure and make the package. |
al@19221 | 17 compile_rules() |
al@19221 | 18 { |
Hans-G?nter@21668 | 19 ./configure \ |
Hans-G?nter@21668 | 20 --prefix=/usr \ |
Hans-G?nter@21668 | 21 --enable-pcre2-16 \ |
Hans-G?nter@21668 | 22 --enable-pcre2-32 \ |
Hans-G?nter@21668 | 23 --enable-jit \ |
al@19221 | 24 $CONFIGURE_ARGS && |
Hans-G?nter@21668 | 25 make && |
Hans-G?nter@21668 | 26 make install |
al@19221 | 27 |
al@19221 | 28 find $install/usr/share/man -type f -exec gzip -9 \{\} \; |
Hans-G?nter@23282 | 29 for i in $(find $install/usr/share/man -type l) |
Hans-G?nter@23282 | 30 do |
al@19221 | 31 dest=$(readlink $i) |
al@19221 | 32 rm $i; ln -s $dest.gz $i.gz |
Hans-G?nter@23282 | 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 |
Hans-G?nter@23282 | 40 cp -a $install/usr/lib/*.so* $fs/usr/lib |
al@19221 | 41 } |