wok-6.x annotate perl-html-tagset/receipt @ rev 13404
Up ardour (2.8.14)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Sep 28 18:22:10 2012 +0200 (2012-09-28) |
parents | |
children | 2d12ebd38be4 |
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@2240 | 8 DEPENDS="perl" |
pascal@2240 | 9 BUILD_DEPENDS="perl" |
pascal@2240 | 10 SOURCE="HTML-Tagset" |
pascal@2240 | 11 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@2240 | 12 WEB_SITE="http://www.cpan.org/modules" |
pascal@2240 | 13 WGET_URL="http://search.cpan.org/CPAN/authors/id/P/PE/PETDANCE/$TARBALL" |
pascal@2240 | 14 |
pascal@2240 | 15 # Rules to configure and make the package. |
pascal@2240 | 16 compile_rules() |
pascal@2240 | 17 { |
pascal@2240 | 18 mv $SOURCE $src 2> /dev/null |
pascal@2240 | 19 cd $src |
pascal@2240 | 20 perl Makefile.PL && |
pascal@2240 | 21 make && |
pascal@2240 | 22 make DESTDIR=$PWD/_pkg install |
pascal@2240 | 23 } |
pascal@2240 | 24 |
pascal@2240 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@2240 | 26 genpkg_rules() |
pascal@2240 | 27 { |
pascal@2240 | 28 mkdir -p $fs/usr |
pascal@2240 | 29 cp -a $_pkg/usr/lib $fs/usr |
pascal@2240 | 30 } |
pascal@2240 | 31 |