wok-next annotate perl-test-exception/receipt @ rev 18943
iptraf: deal with /var/run on post_install / post_remove
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Mar 03 11:40:10 2016 +0200 (2016-03-03) |
parents | 84e5f2e10ea6 |
children | 1a86cb99cbbf |
rev | line source |
---|---|
pascal@9281 | 1 # SliTaz package receipt. |
pascal@9281 | 2 |
pascal@9281 | 3 PACKAGE="perl-test-exception" |
pascal@9281 | 4 VERSION="0.31" |
pascal@9281 | 5 CATEGORY="development" |
pascal@9281 | 6 SHORT_DESC="Test::Exception module is a Perl extension." |
pascal@9281 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14702 | 8 LICENSE="GPL" |
pascal@9281 | 9 DEPENDS="perl" |
pascal@9281 | 10 BUILD_DEPENDS="perl" |
pascal@9281 | 11 SOURCE="Test-Exception" |
pascal@9281 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@9281 | 13 WEB_SITE="http://cpan.org/" |
pascal@9281 | 14 WGET_URL="http://search.cpan.org/CPAN/authors/id/A/AD/ADIE/$TARBALL" |
pascal@9281 | 15 |
pascal@9281 | 16 # Rules to configure and make the package. |
pascal@9281 | 17 compile_rules() |
pascal@9281 | 18 { |
pascal@9281 | 19 cd $src |
pascal@9281 | 20 perl Makefile.PL && |
pascal@9281 | 21 make && |
pascal@14702 | 22 make DESTDIR=$DESTDIR install |
pascal@9281 | 23 } |
pascal@9281 | 24 |
pascal@9281 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@9281 | 26 genpkg_rules() |
pascal@9281 | 27 { |
pascal@9281 | 28 mkdir -p $fs/usr |
pascal@14702 | 29 cp -a $install/usr/lib $fs/usr |
pascal@9281 | 30 } |
pascal@9281 | 31 |