wok-next view net-snmp/receipt @ rev 20204
libjreen: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Nov 03 22:50:48 2017 +0100 (2017-11-03) |
parents | 9278a60d6895 |
children | d43bf7aae921 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="net-snmp"
4 VERSION="5.7.3"
5 CATEGORY="network"
6 SHORT_DESC="snmp tools"
7 MAINTAINER="allan316@gmail.com"
8 LICENSE="BSD"
9 WEB_SITE="http://net-snmp.sourceforge.net"
10 TAGS="snmp"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
15 BUILD_DEPENDS="perl-dev openssl-dev file"
16 SPLIT="net-snmp-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 ./configure \
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 -j1 && make DESTDIR=$DESTDIR install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 case $PACKAGE in
35 net-snmp)
36 copy @std
37 DEPENDS="openssl"
38 ;;
39 *-dev) copy @dev;;
40 esac
41 }