wok-6.x annotate perl-net-snmp/receipt @ rev 24692

updated jsoncpp (1.9.2 -> 1.9.5)
author Hans-G?nter Theisgen
date Sat Mar 12 15:46:33 2022 +0100 (2022-03-12)
parents 9b96943358b0
children
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@24102 18 current_version()
pascal@24102 19 {
pascal@24102 20 wget -O - $WEB_SITE 2>/dev/null | \
pascal@24102 21 sed '/release-name/!d;s|.*-v*||;s|<.*||;q'
pascal@24102 22 }
pascal@24102 23
pascal@3247 24 # Rules to configure and make the package.
pascal@3247 25 compile_rules()
pascal@3247 26 {
Hans-G?nter@23379 27 perl Makefile.PL &&
Hans-G?nter@23379 28 make &&
pascal@14702 29 make DESTDIR=$DESTDIR install
pascal@3247 30 }
pascal@3247 31
pascal@3247 32 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@3247 33 genpkg_rules()
pascal@3247 34 {
pascal@3247 35 mkdir -p $fs/usr
Hans-G?nter@23379 36 cp -a $install/usr/lib $fs/usr
pascal@3247 37 }