wok-current annotate perl-test-pod/receipt @ rev 9297
Add perl-test-pod.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Thu Mar 17 07:08:58 2011 +0000 (2011-03-17) |
parents | |
children | 2d12ebd38be4 |
rev | line source |
---|---|
slaxemulator@9297 | 1 # SliTaz package receipt. |
slaxemulator@9297 | 2 |
slaxemulator@9297 | 3 PACKAGE="perl-test-pod" |
slaxemulator@9297 | 4 VERSION="1.44" |
slaxemulator@9297 | 5 CATEGORY="development" |
slaxemulator@9297 | 6 SHORT_DESC="Test::Pod module is a Perl extension." |
slaxemulator@9297 | 7 MAINTAINER="slaxemulator@gmail.com" |
slaxemulator@9297 | 8 DEPENDS="perl" |
slaxemulator@9297 | 9 BUILD_DEPENDS="perl" |
slaxemulator@9297 | 10 SOURCE="Test-Pod" |
slaxemulator@9297 | 11 TARBALL="$SOURCE-$VERSION.tar.gz" |
slaxemulator@9297 | 12 WEB_SITE="http://www.cpan.org/modules/" |
slaxemulator@9297 | 13 WGET_URL="http://search.cpan.org/CPAN/authors/id/D/DW/DWHEELER/$TARBALL" |
slaxemulator@9297 | 14 |
slaxemulator@9297 | 15 # Rules to configure and make the package. |
slaxemulator@9297 | 16 compile_rules() |
slaxemulator@9297 | 17 { |
slaxemulator@9297 | 18 cd $src |
slaxemulator@9297 | 19 perl Makefile.PL && |
slaxemulator@9297 | 20 make && |
slaxemulator@9297 | 21 make DESTDIR=$PWD/_pkg install |
slaxemulator@9297 | 22 } |
slaxemulator@9297 | 23 |
slaxemulator@9297 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@9297 | 25 genpkg_rules() |
slaxemulator@9297 | 26 { |
slaxemulator@9297 | 27 mkdir -p $fs/usr |
slaxemulator@9297 | 28 cp -a $_pkg/usr/lib $fs/usr |
slaxemulator@9297 | 29 } |