wok view net-snmp/receipt @ rev 23671

updated stoqdrivers (0.9.8.2 -> 1.8.1)
author Hans-G?nter Theisgen
date Sun Apr 26 07:56:47 2020 +0100 (2020-04-26)
parents 937925ea7478
children e2073ef01171
line source
1 # SliTaz package receipt.
3 PACKAGE="net-snmp"
4 VERSION="5.8"
5 CATEGORY="network"
6 TAGS="snmp"
7 SHORT_DESC="SNMP tools."
8 MAINTAINER="allan316@gmail.com"
9 LICENSE="BSD"
10 WEB_SITE="https://sourceforge.net/projects/net-snmp/"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
15 DEPENDS="openssl"
16 BUILD_DEPENDS="file openssl-dev perl"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 ./configure \
22 --prefix=/usr \
23 --with-default-snmp-version="1" \
24 --with-sys-contact="user@localhost" \
25 --with-sys-location="unknown" \
26 --with-logfile="/var/log/snmpd.log" \
27 --with-persistent-directory="/var/net-snmp" \
28 $CONFIGURE_ARGS &&
29 make -j 1 &&
30 make -j 1 DESTDIR=$DESTDIR install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/lib/
38 cp -a $install/usr/bin $fs/usr
39 cp -a $install/usr/sbin $fs
40 cp -a $install/usr/share $fs/usr
41 cp -a $install/usr/lib/*so* $fs/usr/lib
42 cp -a $install/usr/lib/perl5 $fs/usr/lib
43 }