wok-6.x annotate perl-module-implementation/receipt @ rev 25010
updated ode and ode-dev (0.16.1 -> 0.16.2)
author | Hans-G?nter Theisgen |
---|---|
date | Mon May 16 17:33:55 2022 +0100 (2022-05-16) |
parents | 6e8b1bcb30e2 |
children |
rev | line source |
---|---|
nneul@18450 | 1 # SliTaz package receipt. |
nneul@18450 | 2 |
nneul@18450 | 3 PACKAGE="perl-module-implementation" |
nneul@18450 | 4 VERSION="0.09" |
nneul@18450 | 5 CATEGORY="development" |
nneul@18450 | 6 SHORT_DESC="Module::Implementation 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-Implementation" |
nneul@18450 | 10 SOURCE="Module-Implementation" |
nneul@18450 | 11 TARBALL="$SOURCE-$VERSION.tar.gz" |
nneul@18450 | 12 WGET_URL="http://www.cpan.org/authors/id/D/DR/DROLSKY/$TARBALL" |
nneul@18450 | 13 |
nneul@18450 | 14 DEPENDS="perl perl-test-requires perl-module-runtime" |
nneul@18450 | 15 BUILD_DEPENDS="$DEPENDS" |
nneul@18450 | 16 |
pascal@24102 | 17 current_version() |
pascal@24102 | 18 { |
pascal@24102 | 19 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@24102 | 20 sed '/release-name/!d;s|.*-v*||;s|<.*||;q' |
pascal@24102 | 21 } |
pascal@24102 | 22 |
nneul@18450 | 23 # Rules to configure and make the package. |
nneul@18450 | 24 compile_rules() |
nneul@18450 | 25 { |
nneul@18450 | 26 cd $src |
nneul@18450 | 27 perl Makefile.PL && |
nneul@18450 | 28 make && |
nneul@18450 | 29 make DESTDIR=$DESTDIR install |
nneul@18450 | 30 } |
nneul@18450 | 31 |
nneul@18450 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
nneul@18450 | 33 genpkg_rules() |
nneul@18450 | 34 { |
nneul@18450 | 35 cp -a $install/usr $fs |
nneul@18450 | 36 } |