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

cairo-clock, grub4dos: fix CFLAGS
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Mar 27 12:50:45 2018 +0200 (2018-03-27)
parents d43bf7aae921
children 4a67f7e79846
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="net-snmp-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 make -j1 && make DESTDIR=$DESTDIR install
27 }
29 genpkg_rules() {
30 case $PACKAGE in
31 net-snmp)
32 copy @std
33 DEPENDS="openssl"
34 TAGS="snmp"
35 ;;
36 *-dev) copy @dev;;
37 esac
38 }