wok view net-snmp/receipt @ rev 22894
Up libgnutls (3.6.12)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 23 10:41:24 2020 +0100 (2020-02-23) |
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 }