wok view perl-try-tiny/receipt @ rev 24076

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jul 08 13:19:25 2021 +0000 (2021-07-08)
parents 6e8b1bcb30e2
children 15650f5d595b
line source
1 # SliTaz package receipt.
3 PACKAGE="perl-try-tiny"
4 VERSION="0.30"
5 CATEGORY="development"
6 SHORT_DESC="Perl extension Try::Tiny."
7 MAINTAINER="nneul@neulinger.org"
8 LICENSE="GPL"
9 WEB_SITE="https://metacpan.org/release/Try-Tiny"
11 SOURCE="Try-Tiny"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 WGET_URL="https://cpan.metacpan.org/authors/id/E/ET/ETHER/$TARBALL"
15 DEPENDS="perl"
16 BUILD_DEPENDS="$DEPENDS"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
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 }