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

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents 4a67f7e79846
children
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/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 BUILD_DEPENDS="perl-dev openssl-dev file automake libtool"
15 SPLIT="$PACKAGE-dev"
17 compile_rules() {
18 autoreconf -i &&
19 ./configure \
20 --with-default-snmp-version="1" \
21 --with-sys-contact="user@localhost" \
22 --with-sys-location="unknown" \
23 --with-logfile="/var/log/snmpd.log" \
24 --with-persistent-directory="/var/net-snmp" \
25 $CONFIGURE_ARGS &&
26 fix libtool &&
27 make -j1 &&
28 make DESTDIR=$install install
29 }
31 genpkg_rules() {
32 case $PACKAGE in
33 net-snmp)
34 copy @std
35 DEPENDS="openssl"
36 TAGS="snmp"
37 ;;
38 *-dev) copy @dev;;
39 esac
40 }