wok annotate perl-test-pod-coverage/receipt @ rev 19959
slim-theme-control: add compile_rules(); files processing following it.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat May 20 15:38:00 2017 +0300 (2017-05-20) |
parents | 0b50af37e929 |
children | 20661c276bcf |
rev | line source |
---|---|
pascal@11947 | 1 # SliTaz package receipt. |
pascal@11947 | 2 |
pascal@11947 | 3 PACKAGE="perl-test-pod-coverage" |
pascal@11947 | 4 VERSION="1.08" |
pascal@11947 | 5 CATEGORY="development" |
pascal@11947 | 6 SHORT_DESC="Test::Pod::Coverage module is a Perl extension." |
pascal@11947 | 7 MAINTAINER="slaxemulator@gmail.com" |
pascal@14702 | 8 LICENSE="GPL" |
pascal@11947 | 9 DEPENDS="perl" |
pascal@11947 | 10 BUILD_DEPENDS="perl" |
pascal@11947 | 11 SOURCE="Test-Pod-Coverage" |
pascal@11947 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@11947 | 13 WEB_SITE="http://www.cpan.org/modules/" |
pascal@11947 | 14 WGET_URL="http://search.cpan.org/CPAN/authors/id/P/PE/PETDANCE/$TARBALL" |
pascal@11947 | 15 |
pascal@11947 | 16 # Rules to configure and make the package. |
pascal@11947 | 17 compile_rules() |
pascal@11947 | 18 { |
pascal@11947 | 19 cd $src |
pascal@11947 | 20 perl Makefile.PL && |
pascal@11947 | 21 make && |
pascal@14702 | 22 make DESTDIR=$DESTDIR install |
pascal@11947 | 23 } |
pascal@11947 | 24 |
pascal@11947 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11947 | 26 genpkg_rules() |
pascal@11947 | 27 { |
pascal@11947 | 28 mkdir -p $fs/usr |
pascal@14702 | 29 cp -a $install/usr/lib $fs/usr |
pascal@11947 | 30 } |