wok-next diff perl-rrd-simple/receipt @ rev 21097
gtk-girepository: forgot to remove HOST_ARCH="any"
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Jan 01 13:46:24 2019 +0200 (2019-01-01) |
parents | d5aab818505e |
children |
line diff
1.1 --- a/perl-rrd-simple/receipt Fri Nov 02 14:15:08 2018 +0200 1.2 +++ b/perl-rrd-simple/receipt Tue Jan 01 13:46:24 2019 +0200 1.3 @@ -1,30 +1,25 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 +ORIGIN="RRD-Simple" 1.8 PACKAGE="perl-rrd-simple" 1.9 VERSION="1.44" 1.10 +AUTHOR="NICOLAW" 1.11 CATEGORY="perl" 1.12 SHORT_DESC="RRD::Simple - Simple interface to create and store data in RRD \ 1.13 files" 1.14 MAINTAINER="pascal.bellard@slitaz.org" 1.15 LICENSE="GPL" 1.16 -WEB_SITE="https://metacpan.org/release/RRD-Simple" 1.17 -REPOLOGY="perl:rrd-simple" 1.18 +WEB_SITE="https://metacpan.org/release/$ORIGIN" 1.19 +HOST_ARCH="any" 1.20 +REPOLOGY="${PACKAGE/-/:}" 1.21 1.22 -TARBALL="RRD-Simple-$VERSION.tar.gz" 1.23 -WGET_URL="https://cpan.metacpan.org/authors/id/N/NI/NICOLAW/$TARBALL" 1.24 +TARBALL="$ORIGIN-$VERSION.tar.gz" 1.25 +WGET_URL="https://cpan.metacpan.org/authors/id/${AUTHOR:0:1}/${AUTHOR:0:2}/$AUTHOR/$TARBALL" 1.26 1.27 -BUILD_DEPENDS="perl rrdtool-perl perl-test-pod perl-test-deep \ 1.28 +DEPENDS_std="perl rrdtool-perl" 1.29 +BUILD_DEPENDS="$DEPENDS_std perl-test-pod perl-test-deep \ 1.30 perl-test-pod-coverage perl-module-build" 1.31 1.32 compile_rules() { 1.33 - perl Makefile.PL && 1.34 - make && 1.35 - make DESTDIR=$install install && 1.36 - 1.37 - chmod -R u+w $install 1.38 + cook_perl 1.39 } 1.40 - 1.41 -genpkg_rules() { 1.42 - copy @std 1.43 - DEPENDS="perl rrdtool-perl" 1.44 -}