wok annotate perl-file-rsyncp/receipt @ rev 24936
created recipe for mypaint-brushes
author | Hans-G?nter Theisgen |
---|---|
date | Thu Apr 14 09:08:33 2022 +0100 (2022-04-14) |
parents | 76730de9420b |
children | b27d8c263cba |
rev | line source |
---|---|
Hans-G?nter@24210 | 1 # SliTaz package receipt. |
Hans-G?nter@24210 | 2 |
Hans-G?nter@24210 | 3 PACKAGE="perl-file-rsyncp" |
Hans-G?nter@24210 | 4 VERSION="0.76" |
Hans-G?nter@24210 | 5 CATEGORY="development" |
Hans-G?nter@24210 | 6 SHORT_DESC="Perl Rsync client" |
Hans-G?nter@24210 | 7 MAINTAINER="slaxemulator@gmail.com" |
Hans-G?nter@24210 | 8 LICENSE="GPL" |
Hans-G?nter@24210 | 9 WEB_SITE="https://metacpan.org/pod/File::RsyncP" |
Hans-G?nter@24210 | 10 REPOLOGY="perl:file-rsyncp" |
Hans-G?nter@24210 | 11 |
Hans-G?nter@24210 | 12 SOURCE="File-RsyncP" |
Hans-G?nter@24210 | 13 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@24210 | 14 WGET_URL="https://www.cpan.org/modules/by-module/File/$TARBALL" |
Hans-G?nter@24210 | 15 |
Hans-G?nter@24210 | 16 DEPENDS="perl rsync" |
Hans-G?nter@24210 | 17 BUILD_DEPENDS="perl" |
Hans-G?nter@24210 | 18 |
pascal@24227 | 19 current_version() |
pascal@24227 | 20 { |
pascal@24227 | 21 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@24227 | 22 sed '/release-name/!d;s|.*-v*||;s|<.*||;q' |
pascal@24227 | 23 } |
pascal@24227 | 24 |
Hans-G?nter@24210 | 25 # Rules to configure and make the package. |
Hans-G?nter@24210 | 26 compile_rules() |
Hans-G?nter@24210 | 27 { |
Hans-G?nter@24210 | 28 perl Makefile.PL && |
Hans-G?nter@24210 | 29 make -j 1 && |
Hans-G?nter@24210 | 30 make install DESTDIR=$DESTDIR |
Hans-G?nter@24210 | 31 } |
Hans-G?nter@24210 | 32 |
Hans-G?nter@24210 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
Hans-G?nter@24210 | 34 genpkg_rules() |
Hans-G?nter@24210 | 35 { |
Hans-G?nter@24210 | 36 cook_copy_folders lib |
Hans-G?nter@24210 | 37 } |