wok-6.x annotate perl-net-snmp/receipt @ rev 23997
linld: add iso support (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jan 08 20:36:59 2021 +0000 (2021-01-08) |
parents | 2d12ebd38be4 |
children | 15650f5d595b |
rev | line source |
---|---|
pascal@3247 | 1 # SliTaz package receipt. |
pascal@3247 | 2 |
pascal@3247 | 3 PACKAGE="perl-net-snmp" |
Hans-G?nter@23379 | 4 VERSION="6.0.1" |
pascal@3247 | 5 CATEGORY="development" |
Hans-G?nter@23379 | 6 SHORT_DESC="Perl extension Net::SNMP." |
pascal@3247 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14702 | 8 LICENSE="GPL" |
Hans-G?nter@23379 | 9 WEB_SITE="https://metacpan.org/release/Net-SNMP" |
Hans-G?nter@23379 | 10 |
Hans-G?nter@23379 | 11 SOURCE="Net-SNMP" |
Hans-G?nter@23379 | 12 TARBALL="$SOURCE-v$VERSION.tar.gz" |
Hans-G?nter@23379 | 13 WGET_URL="https://www.cpan.org/modules/by-module/Net/$TARBALL" |
Hans-G?nter@23379 | 14 |
pascal@3247 | 15 DEPENDS="perl perl-crypt-des perl-digest-hmac perl-digest-sha1" |
pascal@3247 | 16 BUILD_DEPENDS="perl perl-crypt-des perl-digest-hmac perl-digest-sha1" |
pascal@3247 | 17 |
pascal@3247 | 18 # Rules to configure and make the package. |
pascal@3247 | 19 compile_rules() |
pascal@3247 | 20 { |
Hans-G?nter@23379 | 21 perl Makefile.PL && |
Hans-G?nter@23379 | 22 make && |
pascal@14702 | 23 make DESTDIR=$DESTDIR 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 { |
pascal@3247 | 29 mkdir -p $fs/usr |
Hans-G?nter@23379 | 30 cp -a $install/usr/lib $fs/usr |
pascal@3247 | 31 } |