wok-next view perl-try-tiny/receipt @ rev 18450

perl-datetime and others: update to perl datetime which required a bunch of other deps to also be updated
author Nathan Neulinger <nneul@neulinger.org>
date Sun Sep 27 19:52:03 2015 +0000 (2015-09-27)
parents
children 1a86cb99cbbf
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 }