wok-current view net-snmp/receipt @ rev 22708
updated eudev and eudev-dev (1.9 -> 3.2.9)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Jan 21 17:49:56 2020 +0100 (2020-01-21) |
parents | 3765f181a6d5 |
children | 9ec990a361cd |
line source
1 # SliTaz package receipt.
3 PACKAGE="net-snmp"
4 VERSION="5.6.1"
5 CATEGORY="network"
6 SHORT_DESC="snmp tools"
7 MAINTAINER="allan316@gmail.com"
8 LICENSE="BSD"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://net-snmp.sourceforge.net"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 TAGS="snmp"
14 DEPENDS="openssl"
15 BUILD_DEPENDS="perl openssl-dev file"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 ./configure \
21 --prefix=/usr \
22 --with-default-snmp-version="1" \
23 --with-sys-contact="user@localhost" \
24 --with-sys-location="unknown" \
25 --with-logfile="/var/log/snmpd.log" \
26 --with-persistent-directory="/var/net-snmp" \
27 $CONFIGURE_ARGS &&
28 make -j 1 && make -j 1 DESTDIR=$DESTDIR install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/lib/
35 cp -a $install/usr/bin $fs/usr
36 cp -a $install/usr/sbin $fs
37 cp -a $install/usr/share $fs/usr
38 cp -a $install/usr/lib/*so* $fs/usr/lib
39 cp -a $install/usr/lib/perl5 $fs/usr/lib
40 }