wok-next view net-snmp/receipt @ rev 19925

libftdi: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Oct 14 23:27:36 2017 +0200 (2017-10-14)
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 }