wok-current view perl-try-tiny/receipt @ rev 19301
astromenace: update bdeps; genpkg_rules is launch without any bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jul 09 18:39:35 2016 +0200 (2016-07-09) |
parents | |
children | 6e8b1bcb30e2 |
line source
1 # SliTaz package receipt.
3 PACKAGE="perl-try-tiny"
4 VERSION="0.22"
5 CATEGORY="development"
6 SHORT_DESC="Try::Tiny is a perl module"
7 MAINTAINER="nneul@neulinger.org"
8 LICENSE="GPL"
9 WEB_SITE="http://search.cpan.org/dist/Try-Tiny"
10 SOURCE="Try-Tiny"
11 TARBALL="$SOURCE-$VERSION.tar.gz"
12 WGET_URL="http://www.cpan.org/authors/id/D/DO/DOY/$TARBALL"
14 DEPENDS="perl"
15 BUILD_DEPENDS="$DEPENDS"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 perl Makefile.PL &&
22 make &&
23 make DESTDIR=$DESTDIR install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 cp -a $install/usr $fs
30 }