wok-6.x annotate perl-module-runtime/receipt @ rev 22678
cookutils: do not break build env !
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jan 18 16:22:42 2020 +0100 (2020-01-18) |
parents | 3d257ce86aef |
children | 81986d9b72b1 |
rev | line source |
---|---|
nneul@18450 | 1 # SliTaz package receipt. |
nneul@18450 | 2 |
nneul@18450 | 3 PACKAGE="perl-module-runtime" |
nneul@18450 | 4 VERSION="0.014" |
nneul@18450 | 5 CATEGORY="development" |
nneul@18450 | 6 SHORT_DESC="Module::Runtime 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/Module-Runtime" |
nneul@18450 | 10 SOURCE="Module-Runtime" |
nneul@18450 | 11 TARBALL="$SOURCE-$VERSION.tar.gz" |
nneul@18450 | 12 WGET_URL="http://www.cpan.org/authors/id/Z/ZE/ZEFRAM/$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 } |