wok-next view perl-libnet/receipt @ rev 20820

Update Perl modules
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Jun 13 23:41:47 2018 +0300 (2018-06-13)
parents 1a86cb99cbbf
children 4e6503d7a19f
line source
1 # SliTaz package receipt.
3 PACKAGE="perl-libnet"
4 VERSION="3.11"
5 CATEGORY="perl"
6 SHORT_DESC="Collection of network protocol modules"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL"
9 WEB_SITE="https://metacpan.org/release/libnet"
11 TARBALL="libnet-$VERSION.tar.gz"
12 WGET_URL="https://cpan.metacpan.org/authors/id/S/SH/SHAY/$TARBALL"
14 DEPENDS="perl"
15 BUILD_DEPENDS="perl"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 # avoid interactive questions
21 PERL_MM_USE_DEFAULT=1 \
22 perl Makefile.PL &&
23 make && make DESTDIR=$install install &&
25 chmod -R u+w $install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 copy @std
32 }