wok-next annotate perl-libnet/receipt @ rev 20861
gnutls: up (3.5.18); add libpsl and publicsuffix-list; sed: up (4.5); tar: up (1.30); tcpdump: up (4.9.2); wget: up (1.19.5); xz: up (5.2.4)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Jun 28 00:30:02 2018 +0300 (2018-06-28) |
parents | 1a86cb99cbbf |
children | 4e6503d7a19f |
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@19709 | 10 |
al@19709 | 11 TARBALL="libnet-$VERSION.tar.gz" |
al@19709 | 12 WGET_URL="https://cpan.metacpan.org/authors/id/S/SH/SHAY/$TARBALL" |
al@19709 | 13 |
al@19709 | 14 DEPENDS="perl" |
al@19709 | 15 BUILD_DEPENDS="perl" |
al@19709 | 16 |
al@19709 | 17 # Rules to configure and make the package. |
al@19709 | 18 compile_rules() |
al@19709 | 19 { |
al@19709 | 20 # avoid interactive questions |
al@19709 | 21 PERL_MM_USE_DEFAULT=1 \ |
al@19709 | 22 perl Makefile.PL && |
al@19709 | 23 make && make DESTDIR=$install install && |
al@19709 | 24 |
al@19709 | 25 chmod -R u+w $install |
al@19709 | 26 } |
al@19709 | 27 |
al@19709 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@19709 | 29 genpkg_rules() |
al@19709 | 30 { |
al@19709 | 31 copy @std |
al@19709 | 32 } |