wok annotate perl-text-glob/receipt @ rev 20106
dropbear: typo
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Oct 09 21:35:33 2017 +0200 (2017-10-09) |
parents | 025204a91f7b |
children | 20661c276bcf |
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" |
slaxemulator@10175 | 13 WEB_SITE="http://search.cpan.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 |