wok-next annotate perl-libnet/receipt @ rev 20889
Check Repology info from y* to z* packages: complete
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sun Jul 15 10:27:39 2018 +0300 (2018-07-15) |
parents | 44d2daaccb67 |
children | d5aab818505e |
rev | line source |
---|---|
al@19709 | 1 # SliTaz package receipt. |
al@19709 | 2 |
al@19709 | 3 PACKAGE="perl-libnet" |
al@20820 | 4 VERSION="3.11" |
al@19709 | 5 CATEGORY="perl" |
al@19709 | 6 SHORT_DESC="Collection of network protocol modules" |
al@19709 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@19709 | 8 LICENSE="GPL" |
al@19709 | 9 WEB_SITE="https://metacpan.org/release/libnet" |
al@20884 | 10 REPOLOGY="perl:libnet" |
al@19709 | 11 |
al@19709 | 12 TARBALL="libnet-$VERSION.tar.gz" |
al@19709 | 13 WGET_URL="https://cpan.metacpan.org/authors/id/S/SH/SHAY/$TARBALL" |
al@19709 | 14 |
al@19709 | 15 DEPENDS="perl" |
al@19709 | 16 BUILD_DEPENDS="perl" |
al@19709 | 17 |
al@19709 | 18 # Rules to configure and make the package. |
al@19709 | 19 compile_rules() |
al@19709 | 20 { |
al@19709 | 21 # avoid interactive questions |
al@19709 | 22 PERL_MM_USE_DEFAULT=1 \ |
al@19709 | 23 perl Makefile.PL && |
al@19709 | 24 make && make DESTDIR=$install install && |
al@19709 | 25 |
al@19709 | 26 chmod -R u+w $install |
al@19709 | 27 } |
al@19709 | 28 |
al@19709 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@19709 | 30 genpkg_rules() |
al@19709 | 31 { |
al@19709 | 32 copy @std |
al@19709 | 33 } |