wok annotate perl-text-glob/receipt @ rev 20682
Update some WEB_SITE
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jan 27 17:42:10 2019 +0100 (2019-01-27) |
parents | 2d12ebd38be4 |
children | 18c66805dd1a |
rev | line source |
---|---|
slaxemulator@10175 | 1 # SliTaz package receipt. |
slaxemulator@10175 | 2 |
slaxemulator@10175 | 3 PACKAGE="perl-text-glob" |
slaxemulator@10175 | 4 VERSION="0.08" |
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@20682 | 13 WEB_SITE="https://metacpan.org/~RCLAMP/Text-Glob" |
slaxemulator@10175 | 14 WGET_URL="http://www.cpan.org/authors/id/R/RC/RCLAMP/$TARBALL" |
slaxemulator@10175 | 15 |
slaxemulator@10175 | 16 # Rules to configure and make the package. |
slaxemulator@10175 | 17 compile_rules() |
slaxemulator@10175 | 18 { |
slaxemulator@10175 | 19 cd $src |
slaxemulator@10175 | 20 perl Makefile.PL && |
slaxemulator@10175 | 21 make && |
slaxemulator@10175 | 22 make install DESTDIR="$DESTDIR" |
slaxemulator@10175 | 23 } |
slaxemulator@10175 | 24 |
slaxemulator@10175 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@10175 | 26 genpkg_rules() |
slaxemulator@10175 | 27 { |
slaxemulator@10175 | 28 mkdir -p $fs/usr |
pascal@14702 | 29 cp -a $install/usr/lib $fs/usr |
slaxemulator@10175 | 30 } |
slaxemulator@10175 | 31 |