wok view perl-net-snmp/receipt @ rev 18725

lynis 2.1.1: fix: installs in /usr/share/lynis but can not be found, trying /usr/local/share (as in example on dev website)
author Erkan Yilmaz <erkan@slitaz.org>
date Fri Dec 18 13:20:19 2015 +0000 (2015-12-18)
parents 18ddece61f91
children 9b96943358b0
line source
1 # SliTaz package receipt.
3 PACKAGE="perl-net-snmp"
4 VERSION="5.2.0"
5 CATEGORY="development"
6 SHORT_DESC="Net::SNMP module is a Perl extension."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL"
9 DEPENDS="perl perl-crypt-des perl-digest-hmac perl-digest-sha1"
10 BUILD_DEPENDS="perl perl-crypt-des perl-digest-hmac perl-digest-sha1"
11 SOURCE="Net-SNMP"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 WEB_SITE="http://cpan.org/"
14 WGET_URL="http://cpan.org/authors/id/D/DT/DTOWN/$TARBALL"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 perl Makefile.PL
21 make
22 make DESTDIR=$DESTDIR install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr
29 cp -a $install/usr/lib $fs/usr
30 }