wok-next annotate perl-try-tiny/receipt @ rev 18862
Up tzdata(2016a)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Jan 28 17:55:47 2016 +0200 (2016-01-28) |
parents | |
children | 1a86cb99cbbf |
rev | line source |
---|---|
nneul@18450 | 1 # SliTaz package receipt. |
nneul@18450 | 2 |
nneul@18450 | 3 PACKAGE="perl-try-tiny" |
nneul@18450 | 4 VERSION="0.22" |
nneul@18450 | 5 CATEGORY="development" |
nneul@18450 | 6 SHORT_DESC="Try::Tiny is a perl module" |
nneul@18450 | 7 MAINTAINER="nneul@neulinger.org" |
nneul@18450 | 8 LICENSE="GPL" |
nneul@18450 | 9 WEB_SITE="http://search.cpan.org/dist/Try-Tiny" |
nneul@18450 | 10 SOURCE="Try-Tiny" |
nneul@18450 | 11 TARBALL="$SOURCE-$VERSION.tar.gz" |
nneul@18450 | 12 WGET_URL="http://www.cpan.org/authors/id/D/DO/DOY/$TARBALL" |
nneul@18450 | 13 |
nneul@18450 | 14 DEPENDS="perl" |
nneul@18450 | 15 BUILD_DEPENDS="$DEPENDS" |
nneul@18450 | 16 |
nneul@18450 | 17 # Rules to configure and make the package. |
nneul@18450 | 18 compile_rules() |
nneul@18450 | 19 { |
nneul@18450 | 20 cd $src |
nneul@18450 | 21 perl Makefile.PL && |
nneul@18450 | 22 make && |
nneul@18450 | 23 make DESTDIR=$DESTDIR install |
nneul@18450 | 24 } |
nneul@18450 | 25 |
nneul@18450 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
nneul@18450 | 27 genpkg_rules() |
nneul@18450 | 28 { |
nneul@18450 | 29 cp -a $install/usr $fs |
nneul@18450 | 30 } |