wok-current annotate perl-test-compile/receipt @ rev 20469
fusioninventory-agent: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Oct 12 11:23:47 2018 +0200 (2018-10-12) |
parents | |
children | a3684252aaf1 |
rev | line source |
---|---|
pascal@20469 | 1 # SliTaz package receipt. |
pascal@20469 | 2 |
pascal@20469 | 3 PACKAGE="perl-test-compile" |
pascal@20469 | 4 VERSION="1.3.0" |
pascal@20469 | 5 CATEGORY="development" |
pascal@20469 | 6 SHORT_DESC="Test::Compile module is a Perl extension." |
pascal@20469 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@20469 | 8 LICENSE="GPL" |
pascal@20469 | 9 DEPENDS="perl" |
pascal@20469 | 10 BUILD_DEPENDS="perl" |
pascal@20469 | 11 SOURCE="Test-Compile" |
pascal@20469 | 12 TARBALL="$SOURCE-v$VERSION.tar.gz" |
pascal@20469 | 13 WEB_SITE="http://cpan.org/" |
pascal@20469 | 14 WGET_URL="https://cpan.metacpan.org/authors/id/E/EG/EGILES/$TARBALL" |
pascal@20469 | 15 |
pascal@20469 | 16 # Rules to configure and make the package. |
pascal@20469 | 17 compile_rules() |
pascal@20469 | 18 { |
pascal@20469 | 19 perl Makefile.PL && |
pascal@20469 | 20 make && |
pascal@20469 | 21 make DESTDIR=$DESTDIR install |
pascal@20469 | 22 } |
pascal@20469 | 23 |
pascal@20469 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@20469 | 25 genpkg_rules() |
pascal@20469 | 26 { |
pascal@20469 | 27 mkdir -p $fs/usr |
pascal@20469 | 28 cp -a $install/usr/lib $fs/usr |
pascal@20469 | 29 } |