wok-next annotate perl-net-snmp/receipt @ rev 20738
Up scons (3.0.1); add scons2 (2.5.1)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue May 29 21:13:51 2018 +0300 (2018-05-29) |
parents | 2d12ebd38be4 |
children | 4e6503d7a19f |
rev | line source |
---|---|
pascal@3247 | 1 # SliTaz package receipt. |
pascal@3247 | 2 |
pascal@3247 | 3 PACKAGE="perl-net-snmp" |
al@19709 | 4 VERSION="6.0.1" |
al@19709 | 5 CATEGORY="perl" |
al@19709 | 6 SHORT_DESC="Net::SNMP - Object oriented interface to SNMP" |
pascal@3247 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14702 | 8 LICENSE="GPL" |
al@19709 | 9 WEB_SITE="https://metacpan.org/release/Net-SNMP" |
al@19709 | 10 |
al@19709 | 11 TARBALL="Net-SNMP-v$VERSION.tar.gz" |
al@19709 | 12 WGET_URL="https://cpan.metacpan.org/authors/id/D/DT/DTOWN/$TARBALL" |
al@19709 | 13 |
al@19709 | 14 DEPENDS="perl-crypt-des perl-digest-hmac perl-digest-sha1" |
al@19709 | 15 BUILD_DEPENDS="$DEPENDS" |
pascal@3247 | 16 |
pascal@3247 | 17 # Rules to configure and make the package. |
pascal@3247 | 18 compile_rules() |
pascal@3247 | 19 { |
al@19709 | 20 perl Makefile.PL && |
al@19709 | 21 make && make DESTDIR=$install install && |
al@19709 | 22 |
al@19709 | 23 chmod -R u+w $install |
pascal@3247 | 24 } |
pascal@3247 | 25 |
pascal@3247 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@3247 | 27 genpkg_rules() |
pascal@3247 | 28 { |
al@19709 | 29 copy @std |
pascal@3247 | 30 } |