wok-6.x annotate pcre/receipt @ rev 23305
updated perl-crypt-des (2.05 -> 2.07)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Mar 29 17:21:18 2020 +0100 (2020-03-29) |
parents | 9d254903769e |
children | ee53899c6189 |
rev | line source |
---|---|
pankso@6 | 1 # SliTaz package receipt. |
pankso@6 | 2 |
pankso@6 | 3 PACKAGE="pcre" |
Hans-G?nter@23281 | 4 VERSION="8.44" |
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" |
Hans-G?nter@21667 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
Hans-G?nter@21667 | 13 |
pankso@12771 | 14 HOST_ARCH="i486 arm" |
pankso@6 | 15 |
pankso@6 | 16 # Rules to configure and make the package. |
pankso@6 | 17 compile_rules() |
pankso@6 | 18 { |
Hans-G?nter@21667 | 19 ./configure \ |
Hans-G?nter@21667 | 20 --prefix=/usr \ |
Hans-G?nter@21667 | 21 --enable-pcre16 \ |
Hans-G?nter@21667 | 22 --enable-pcre32 \ |
Hans-G?nter@21667 | 23 --enable-jit \ |
Hans-G?nter@21667 | 24 --enable-unicode-properties \ |
pankso@12470 | 25 $CONFIGURE_ARGS && |
Hans-G?nter@21667 | 26 make && |
Hans-G?nter@21667 | 27 make install |
al@19221 | 28 |
al@19221 | 29 find $install/usr/share/man -type f -exec gzip -9 \{\} \; |
Hans-G?nter@23281 | 30 for i in $(find $install/usr/share/man -type l) |
Hans-G?nter@23281 | 31 do |
al@19221 | 32 dest=$(readlink $i) |
al@19221 | 33 rm $i; ln -s $dest.gz $i.gz |
Hans-G?nter@23281 | 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 |
Hans-G?nter@23281 | 41 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@6 | 42 } |