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

Add neofetch, tcl2c-fork; build two versions of tklauncher (using tcl2c and tcl2c-fork) with different warnings
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Jun 23 09:45:42 2018 +0300 (2018-06-23)
parents b19ddba309f9
children d5aab818505e
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 fix libtool &&
27 make -j1 &&
28 make DESTDIR=$DESTDIR 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 }