wok-current annotate perl-html-tree/receipt @ rev 19020
tazlito (423), tazpanel (573)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Apr 01 11:09:59 2016 +0200 (2016-04-01) |
parents | 0086e76a8443 |
children | 6e8b1bcb30e2 |
rev | line source |
---|---|
slaxemulator@9296 | 1 # SliTaz package receipt. |
slaxemulator@9296 | 2 |
slaxemulator@9296 | 3 PACKAGE="perl-html-tree" |
slaxemulator@9296 | 4 VERSION="4.1" |
slaxemulator@9296 | 5 CATEGORY="development" |
slaxemulator@9296 | 6 SHORT_DESC="HTML::Tree module is a Perl extension." |
slaxemulator@9296 | 7 MAINTAINER="slaxemulator@gmail.com" |
pascal@14702 | 8 LICENSE="GPL" |
slaxemulator@9296 | 9 DEPENDS="perl perl-html-parser perl-html-tagset" |
slaxemulator@9296 | 10 BUILD_DEPENDS="perl perl-html-parser perl-html-tagset" |
slaxemulator@9296 | 11 SOURCE="HTML-Tree" |
slaxemulator@9296 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
slaxemulator@9296 | 13 WEB_SITE="http://search.cpan.org/dist/HTML-Tree" |
slaxemulator@9296 | 14 WGET_URL="http://search.cpan.org/CPAN/authors/id/J/JF/JFEARN/$TARBALL" |
slaxemulator@9296 | 15 |
slaxemulator@9296 | 16 # Rules to configure and make the package. |
slaxemulator@9296 | 17 compile_rules() |
slaxemulator@9296 | 18 { |
slaxemulator@9296 | 19 cd $src |
slaxemulator@9296 | 20 perl Makefile.PL && |
slaxemulator@9296 | 21 make && |
pascal@14702 | 22 make DESTDIR=$DESTDIR install |
slaxemulator@9296 | 23 } |
slaxemulator@9296 | 24 |
slaxemulator@9296 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@9296 | 26 genpkg_rules() |
slaxemulator@9296 | 27 { |
slaxemulator@9296 | 28 mkdir -p $fs/usr |
pascal@14702 | 29 cp -a $install/usr/lib $fs/usr |
slaxemulator@9296 | 30 } |