wok-6.x annotate perl-try-tiny/receipt @ rev 22689
updated emacs (24.3 -> 26.3)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Jan 20 16:49:20 2020 +0100 (2020-01-20) |
parents | 3d257ce86aef |
children | cb515e81c1bc |
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" |
pascal@20671 | 9 WEB_SITE="https://metacpan.org/release/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 } |