wok-current annotate pcre/receipt @ rev 25726
Fix xorg-server dep, add libffado, ffado-tools
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Tue Nov 05 13:39:06 2024 +0000 (2 months ago) |
parents | eb6fc44c0c5f |
children | 5926178cd6fa |
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 |
shann@25667 | 14 DEPENDS="gcc-lib-base" |
shann@25667 | 15 |
pankso@12771 | 16 HOST_ARCH="i486 arm" |
pankso@6 | 17 |
pascal@24071 | 18 current_version() |
pascal@24071 | 19 { |
pascal@24071 | 20 wget -O - https://sourceforge.net/projects/pcre/files/pcre/ 2>/dev/null | \ |
pascal@24071 | 21 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ |
pascal@24071 | 22 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q" |
pascal@24071 | 23 } |
pascal@24071 | 24 |
pankso@6 | 25 # Rules to configure and make the package. |
pankso@6 | 26 compile_rules() |
pankso@6 | 27 { |
Hans-G?nter@21667 | 28 ./configure \ |
Hans-G?nter@21667 | 29 --prefix=/usr \ |
Hans-G?nter@21667 | 30 --enable-pcre16 \ |
Hans-G?nter@21667 | 31 --enable-pcre32 \ |
Hans-G?nter@21667 | 32 --enable-jit \ |
Hans-G?nter@21667 | 33 --enable-unicode-properties \ |
pankso@12470 | 34 $CONFIGURE_ARGS && |
Hans-G?nter@21667 | 35 make && |
Hans-G?nter@21667 | 36 make install |
al@19221 | 37 |
al@19221 | 38 find $install/usr/share/man -type f -exec gzip -9 \{\} \; |
Hans-G?nter@23281 | 39 for i in $(find $install/usr/share/man -type l) |
Hans-G?nter@23281 | 40 do |
al@19221 | 41 dest=$(readlink $i) |
Hans-G?nter@25116 | 42 rm $i |
Hans-G?nter@25116 | 43 ln -s $dest.gz $i.gz |
Hans-G?nter@23281 | 44 done |
pankso@6 | 45 } |
pankso@6 | 46 |
pankso@6 | 47 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@6 | 48 genpkg_rules() |
pankso@6 | 49 { |
Hans-G?nter@25116 | 50 cook_copy_files *.so* |
pankso@6 | 51 } |