wok annotate pcre/receipt @ rev 25174
updated python-flask (1.1.2 -> 1.1.4)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jul 01 17:16:59 2022 +0100 (2022-07-01) |
parents | ee53899c6189 |
children | 29df00e1e19d |
rev | line source |
---|---|
pankso@6 | 1 # SliTaz package receipt. |
pankso@6 | 2 |
pankso@6 | 3 PACKAGE="pcre" |
Hans-G?nter@25116 | 4 VERSION="8.45" |
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 |
pascal@24071 | 16 current_version() |
pascal@24071 | 17 { |
pascal@24071 | 18 wget -O - https://sourceforge.net/projects/pcre/files/pcre/ 2>/dev/null | \ |
pascal@24071 | 19 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ |
pascal@24071 | 20 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q" |
pascal@24071 | 21 } |
pascal@24071 | 22 |
pankso@6 | 23 # Rules to configure and make the package. |
pankso@6 | 24 compile_rules() |
pankso@6 | 25 { |
Hans-G?nter@21667 | 26 ./configure \ |
Hans-G?nter@21667 | 27 --prefix=/usr \ |
Hans-G?nter@21667 | 28 --enable-pcre16 \ |
Hans-G?nter@21667 | 29 --enable-pcre32 \ |
Hans-G?nter@21667 | 30 --enable-jit \ |
Hans-G?nter@21667 | 31 --enable-unicode-properties \ |
pankso@12470 | 32 $CONFIGURE_ARGS && |
Hans-G?nter@21667 | 33 make && |
Hans-G?nter@21667 | 34 make install |
al@19221 | 35 |
al@19221 | 36 find $install/usr/share/man -type f -exec gzip -9 \{\} \; |
Hans-G?nter@23281 | 37 for i in $(find $install/usr/share/man -type l) |
Hans-G?nter@23281 | 38 do |
al@19221 | 39 dest=$(readlink $i) |
Hans-G?nter@25116 | 40 rm $i |
Hans-G?nter@25116 | 41 ln -s $dest.gz $i.gz |
Hans-G?nter@23281 | 42 done |
pankso@6 | 43 } |
pankso@6 | 44 |
pankso@6 | 45 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@6 | 46 genpkg_rules() |
pankso@6 | 47 { |
Hans-G?nter@25116 | 48 cook_copy_files *.so* |
pankso@6 | 49 } |