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