wok-next annotate 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
rev   line source
al@19741 1 # SliTaz package receipt v2.
allan316@3226 2
allan316@3226 3 PACKAGE="net-snmp"
pascal@19722 4 VERSION="5.7.3"
allan316@3226 5 CATEGORY="network"
allan316@3226 6 SHORT_DESC="snmp tools"
allan316@3226 7 MAINTAINER="allan316@gmail.com"
pascal@15584 8 LICENSE="BSD"
allan316@3226 9 WEB_SITE="http://net-snmp.sourceforge.net"
jozee@4969 10 TAGS="snmp"
allan316@3226 11
al@19741 12 TARBALL="$PACKAGE-$VERSION.tar.gz"
al@19741 13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
al@19741 14
al@19753 15 BUILD_DEPENDS="perl-dev openssl-dev file"
al@19741 16 SPLIT="net-snmp-dev"
pascal@15584 17
allan316@3226 18 # Rules to configure and make the package.
allan316@3226 19 compile_rules()
allan316@3226 20 {
allan316@3226 21 ./configure \
allan316@3226 22 --with-default-snmp-version="1" \
allan316@3226 23 --with-sys-contact="user@localhost" \
allan316@3226 24 --with-sys-location="unknown" \
allan316@3226 25 --with-logfile="/var/log/snmpd.log" \
allan316@3226 26 --with-persistent-directory="/var/net-snmp" \
allan316@3226 27 $CONFIGURE_ARGS &&
al@19741 28 make -j1 && make DESTDIR=$DESTDIR install
allan316@3226 29 }
allan316@3226 30
allan316@3226 31 # Rules to gen a SliTaz package suitable for Tazpkg.
allan316@3226 32 genpkg_rules()
allan316@3226 33 {
al@19741 34 case $PACKAGE in
al@19741 35 net-snmp)
al@19741 36 copy @std
al@19741 37 DEPENDS="openssl"
al@19741 38 ;;
al@19741 39 *-dev) copy @dev;;
al@19741 40 esac
allan316@3226 41 }