wok-current annotate perl-html-tree/receipt @ rev 11635
pure-ftpd: add SSL & puredb suport
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Thu Feb 02 23:13:04 2012 +0100 (2012-02-02) |
parents | |
children | 2d12ebd38be4 |
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" |
slaxemulator@9296 | 8 DEPENDS="perl perl-html-parser perl-html-tagset" |
slaxemulator@9296 | 9 BUILD_DEPENDS="perl perl-html-parser perl-html-tagset" |
slaxemulator@9296 | 10 SOURCE="HTML-Tree" |
slaxemulator@9296 | 11 TARBALL="$SOURCE-$VERSION.tar.gz" |
slaxemulator@9296 | 12 WEB_SITE="http://search.cpan.org/dist/HTML-Tree" |
slaxemulator@9296 | 13 WGET_URL="http://search.cpan.org/CPAN/authors/id/J/JF/JFEARN/$TARBALL" |
slaxemulator@9296 | 14 |
slaxemulator@9296 | 15 # Rules to configure and make the package. |
slaxemulator@9296 | 16 compile_rules() |
slaxemulator@9296 | 17 { |
slaxemulator@9296 | 18 cd $src |
slaxemulator@9296 | 19 perl Makefile.PL && |
slaxemulator@9296 | 20 make && |
slaxemulator@9296 | 21 make DESTDIR=$PWD/_pkg install |
slaxemulator@9296 | 22 } |
slaxemulator@9296 | 23 |
slaxemulator@9296 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@9296 | 25 genpkg_rules() |
slaxemulator@9296 | 26 { |
slaxemulator@9296 | 27 mkdir -p $fs/usr |
slaxemulator@9296 | 28 cp -a $_pkg/usr/lib $fs/usr |
slaxemulator@9296 | 29 } |