wok-next annotate perl-test-exception/receipt @ rev 20180
opencc: fix wget_url
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Nov 02 12:28:56 2017 +0100 (2017-11-02) |
parents | 2d12ebd38be4 |
children | 4e6503d7a19f |
rev | line source |
---|---|
pascal@9281 | 1 # SliTaz package receipt. |
pascal@9281 | 2 |
pascal@9281 | 3 PACKAGE="perl-test-exception" |
al@19709 | 4 VERSION="0.43" |
al@19709 | 5 CATEGORY="perl" |
al@19709 | 6 SHORT_DESC="Test::Exception - Test exception-based code" |
pascal@9281 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14702 | 8 LICENSE="GPL" |
al@19709 | 9 WEB_SITE="https://metacpan.org/release/Test-Exception" |
al@19709 | 10 |
al@19709 | 11 TARBALL="Test-Exception-$VERSION.tar.gz" |
al@19709 | 12 WGET_URL="https://cpan.metacpan.org/authors/id/E/EX/EXODIST/$TARBALL" |
al@19709 | 13 |
al@19709 | 14 DEPENDS="perl-sub-uplevel" |
al@19709 | 15 BUILD_DEPENDS="$DEPENDS" |
pascal@9281 | 16 |
pascal@9281 | 17 # Rules to configure and make the package. |
pascal@9281 | 18 compile_rules() |
pascal@9281 | 19 { |
pascal@9281 | 20 perl Makefile.PL && |
al@19709 | 21 make && make DESTDIR=$install install && |
al@19709 | 22 |
al@19709 | 23 chmod -R u+w $install |
pascal@9281 | 24 } |
pascal@9281 | 25 |
pascal@9281 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@9281 | 27 genpkg_rules() |
pascal@9281 | 28 { |
al@19709 | 29 copy @std |
pascal@9281 | 30 } |