wok-current annotate perl-net-ftp-autoreconnect/receipt @ rev 24113
gst-libav, gst-plugins-base-1.0: series = 1.0
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Sep 29 12:51:33 2021 +0000 (2021-09-29) |
parents | 20661c276bcf |
children | e717a4953b0e |
rev | line source |
---|---|
pascal@9281 | 1 # SliTaz package receipt. |
pascal@9281 | 2 |
pascal@9281 | 3 PACKAGE="perl-net-ftp-autoreconnect" |
pascal@9281 | 4 VERSION="0.3" |
pascal@9281 | 5 CATEGORY="development" |
pascal@9281 | 6 SHORT_DESC="Net::FTP::AutoReconnect module is a Perl extension." |
pascal@9281 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14702 | 8 LICENSE="GPL" |
pascal@9281 | 9 DEPENDS="perl" |
pascal@9281 | 10 BUILD_DEPENDS="perl" |
pascal@9281 | 11 SOURCE="Net-FTP-AutoReconnect" |
pascal@9281 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@24103 | 13 WEB_SITE="https://metacpan.org/dist/Net-FTP-AutoReconnect" |
pascal@20682 | 14 WGET_URL="https://metacpan.org/CPAN/authors/id/G/GI/GIFF/$TARBALL" |
pascal@9281 | 15 |
pascal@24103 | 16 current_version() |
pascal@24103 | 17 { |
pascal@24103 | 18 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@24103 | 19 sed '/release-name/!d;s|.*-v*||;s|<.*||;q' |
pascal@24103 | 20 } |
pascal@24103 | 21 |
pascal@9281 | 22 # Rules to configure and make the package. |
pascal@9281 | 23 compile_rules() |
pascal@9281 | 24 { |
pascal@9281 | 25 cd $src |
pascal@9281 | 26 perl Makefile.PL && |
pascal@9281 | 27 make && |
pascal@14702 | 28 make DESTDIR=$DESTDIR install |
pascal@9281 | 29 } |
pascal@9281 | 30 |
pascal@9281 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@9281 | 32 genpkg_rules() |
pascal@9281 | 33 { |
pascal@9281 | 34 mkdir -p $fs/usr |
pascal@14702 | 35 cp -a $install/usr/lib $fs/usr |
pascal@9281 | 36 } |
pascal@9281 | 37 |