wok-next diff perl-file-rsyncp/receipt @ rev 21683
updated glances (1.5.1 -> 3.1.4.1)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Jun 29 15:35:41 2020 +0100 (2020-06-29) |
parents | d5aab818505e |
children |
line diff
1.1 --- a/perl-file-rsyncp/receipt Fri Nov 02 14:15:08 2018 +0200 1.2 +++ b/perl-file-rsyncp/receipt Mon Jun 29 15:35:41 2020 +0100 1.3 @@ -1,28 +1,22 @@ 1.4 # SliTaz package receipt v2. 1.5 1.6 +ORIGIN="File-RsyncP" 1.7 PACKAGE="perl-file-rsyncp" 1.8 VERSION="0.74" 1.9 +AUTHOR="CBARRATT" 1.10 CATEGORY="perl" 1.11 SHORT_DESC="File::RsyncP - Perl Rsync client" 1.12 MAINTAINER="devel@slitaz.org" 1.13 LICENSE="GPL" 1.14 -WEB_SITE="https://metacpan.org/release/File-RsyncP" 1.15 -REPOLOGY="perl:file-rsyncp" 1.16 +WEB_SITE="https://metacpan.org/release/$ORIGIN" 1.17 +REPOLOGY="${PACKAGE/-/:}" 1.18 1.19 -TARBALL="File-RsyncP-$VERSION.tar.gz" 1.20 -WGET_URL="https://cpan.metacpan.org/authors/id/C/CB/CBARRATT/$TARBALL" 1.21 +TARBALL="$ORIGIN-$VERSION.tar.gz" 1.22 +WGET_URL="https://cpan.metacpan.org/authors/id/${AUTHOR:0:1}/${AUTHOR:0:2}/$AUTHOR/$TARBALL" 1.23 1.24 -BUILD_DEPENDS="perl-dev" 1.25 +DEPENDS_std="perl rsync" 1.26 +BUILD_DEPENDS="$DEPENDS_std perl-dev" 1.27 1.28 compile_rules() { 1.29 - perl Makefile.PL && 1.30 - make -j1 && 1.31 - make -j1 DESTDIR=$install install && 1.32 - 1.33 - chmod -R u+w $install 1.34 + cook_perl "" "-j1" "-j1" 1.35 } 1.36 - 1.37 -genpkg_rules() { 1.38 - copy @std 1.39 - DEPENDS="perl rsync" 1.40 -}