wok annotate perl-text-glob/receipt @ rev 24230
updated perl-json (4.02 -> 4.04)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Jan 02 06:47:59 2022 +0100 (2022-01-02) |
parents | 18c66805dd1a |
children | 0af8df0b46fc |
rev | line source |
---|---|
slaxemulator@10175 | 1 # SliTaz package receipt. |
slaxemulator@10175 | 2 |
slaxemulator@10175 | 3 PACKAGE="perl-text-glob" |
pascal@20905 | 4 VERSION="0.11" |
slaxemulator@10175 | 5 CATEGORY="development" |
slaxemulator@10175 | 6 SHORT_DESC="Match globbing patterns against text." |
slaxemulator@10175 | 7 MAINTAINER="slaxemulator@gmail.com" |
pascal@14702 | 8 LICENSE="GPL" |
slaxemulator@10175 | 9 DEPENDS="perl" |
slaxemulator@10175 | 10 BUILD_DEPENDS="perl" |
slaxemulator@10175 | 11 SOURCE="Text-Glob" |
slaxemulator@10175 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@20905 | 13 WEB_SITE="https://metacpan.org/release/Text-Glob" |
pascal@20905 | 14 WGET_URL="https://cpan.metacpan.org/authors/id/R/RC/RCLAMP/$TARBALL" |
slaxemulator@10175 | 15 |
pascal@24102 | 16 current_version() |
pascal@24102 | 17 { |
pascal@24102 | 18 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@24102 | 19 sed '/release-name/!d;s|.*-v*||;s|<.*||;q' |
pascal@24102 | 20 } |
pascal@24102 | 21 |
slaxemulator@10175 | 22 # Rules to configure and make the package. |
slaxemulator@10175 | 23 compile_rules() |
slaxemulator@10175 | 24 { |
slaxemulator@10175 | 25 perl Makefile.PL && |
slaxemulator@10175 | 26 make && |
slaxemulator@10175 | 27 make install DESTDIR="$DESTDIR" |
slaxemulator@10175 | 28 } |
slaxemulator@10175 | 29 |
slaxemulator@10175 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@10175 | 31 genpkg_rules() |
slaxemulator@10175 | 32 { |
slaxemulator@10175 | 33 mkdir -p $fs/usr |
pascal@14702 | 34 cp -a $install/usr/lib $fs/usr |
slaxemulator@10175 | 35 } |