wok annotate perl-net-telnet/receipt @ rev 24076
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jul 08 13:19:25 2021 +0000 (2021-07-08) |
parents | 2d12ebd38be4 |
children | 15650f5d595b |
rev | line source |
---|---|
pascal@1602 | 1 # SliTaz package receipt. |
pascal@1602 | 2 |
pascal@1602 | 3 PACKAGE="perl-net-telnet" |
Hans-G?nter@23381 | 4 VERSION="3.04" |
pascal@1602 | 5 CATEGORY="development" |
Hans-G?nter@23381 | 6 SHORT_DESC="Perl extension Net::Telnet." |
pascal@1602 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14702 | 8 LICENSE="GPL" |
Hans-G?nter@23381 | 9 WEB_SITE="https://metacpan.org/release/Net-Telnet" |
Hans-G?nter@23381 | 10 |
Hans-G?nter@23381 | 11 SOURCE="Net-Telnet" |
Hans-G?nter@23381 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@23381 | 13 WGET_URL="https://www.cpan.org/modules/by-module/Net/$TARBALL" |
Hans-G?nter@23381 | 14 |
pascal@1602 | 15 DEPENDS="perl" |
pascal@1602 | 16 BUILD_DEPENDS="perl" |
pascal@1602 | 17 |
pascal@1602 | 18 # Rules to configure and make the package. |
pascal@1602 | 19 compile_rules() |
pascal@1602 | 20 { |
Hans-G?nter@23381 | 21 perl Makefile.PL && |
Hans-G?nter@23381 | 22 make && |
pascal@14702 | 23 make DESTDIR=$DESTDIR install |
pascal@1602 | 24 } |
pascal@1602 | 25 |
pascal@1602 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1602 | 27 genpkg_rules() |
pascal@1602 | 28 { |
pascal@1602 | 29 mkdir -p $fs/usr |
Hans-G?nter@23381 | 30 cp -a $install/usr/lib $fs/usr |
pascal@1602 | 31 } |