wok annotate perl-html-tagset/receipt @ rev 20401
Add lziprecover
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jun 28 11:44:28 2018 +0200 (2018-06-28) |
parents | fb4f9c3eb156 |
children | 20661c276bcf |
rev | line source |
---|---|
pascal@2240 | 1 # SliTaz package receipt. |
pascal@2240 | 2 |
pascal@2240 | 3 PACKAGE="perl-html-tagset" |
pascal@2240 | 4 VERSION="3.20" |
pascal@2240 | 5 CATEGORY="development" |
pascal@2240 | 6 SHORT_DESC="HTML::Tagset module is a Perl extension." |
pascal@2240 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14702 | 8 LICENSE="GPL" |
pascal@2240 | 9 DEPENDS="perl" |
pascal@2240 | 10 BUILD_DEPENDS="perl" |
pascal@2240 | 11 SOURCE="HTML-Tagset" |
pascal@2240 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@2240 | 13 WEB_SITE="http://www.cpan.org/modules" |
pascal@2240 | 14 WGET_URL="http://search.cpan.org/CPAN/authors/id/P/PE/PETDANCE/$TARBALL" |
pascal@2240 | 15 |
pascal@2240 | 16 # Rules to configure and make the package. |
pascal@2240 | 17 compile_rules() |
pascal@2240 | 18 { |
pascal@2240 | 19 mv $SOURCE $src 2> /dev/null |
pascal@2240 | 20 cd $src |
pascal@2240 | 21 perl Makefile.PL && |
pascal@2240 | 22 make && |
pascal@14702 | 23 make DESTDIR=$DESTDIR install |
pascal@2240 | 24 } |
pascal@2240 | 25 |
pascal@2240 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@2240 | 27 genpkg_rules() |
pascal@2240 | 28 { |
pascal@2240 | 29 mkdir -p $fs/usr |
pascal@14702 | 30 cp -a $install/usr/lib $fs/usr |
pascal@2240 | 31 } |
pascal@2240 | 32 |