wok-stable annotate net-snmp/receipt @ rev 7167

Added libpcap-dev to wok. This reduced size in libpcap package.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun Nov 07 18:40:06 2010 +0000 (2010-11-07)
parents 49e501a55595
children 99a2fb1f6def
rev   line source
allan316@3226 1 # SliTaz package receipt.
allan316@3226 2
allan316@3226 3 PACKAGE="net-snmp"
allan316@3226 4 VERSION="5.4.2.1"
allan316@3226 5 CATEGORY="network"
allan316@3226 6 SHORT_DESC="snmp tools"
allan316@3226 7 MAINTAINER="allan316@gmail.com"
allan316@3228 8 DEPENDS="openssl"
allan316@3228 9 BUILD_DEPENDS="perl openssl-dev"
allan316@3226 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
allan316@3226 11 WEB_SITE="http://net-snmp.sourceforge.net"
allan316@3226 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
jozee@4969 13 TAGS="snmp"
allan316@3226 14
allan316@3226 15 # Rules to configure and make the package.
allan316@3226 16 compile_rules()
allan316@3226 17 {
allan316@3226 18 cd $src
allan316@3226 19 ./configure \
allan316@3226 20 --prefix=/usr \
allan316@3226 21 --with-default-snmp-version="1" \
allan316@3226 22 --with-sys-contact="user@localhost" \
allan316@3226 23 --with-sys-location="unknown" \
allan316@3226 24 --with-logfile="/var/log/snmpd.log" \
allan316@3226 25 --with-persistent-directory="/var/net-snmp" \
allan316@3226 26 $CONFIGURE_ARGS &&
pascal@5911 27 make && make DESTDIR=$PWD/_pkg install
allan316@3226 28 }
allan316@3226 29
allan316@3226 30 # Rules to gen a SliTaz package suitable for Tazpkg.
allan316@3226 31 genpkg_rules()
allan316@3226 32 {
allan316@3226 33 mkdir -p $fs/usr/lib/
allan316@3226 34 cp -a $_pkg/usr/bin $fs/usr
allan316@3226 35 cp -a $_pkg/usr/sbin $fs
allan316@3226 36 cp -a $_pkg/usr/share $fs/usr
allan316@3226 37 cp -a $_pkg/usr/lib/*so* $fs/usr/lib
allan316@3226 38 cp -a $_pkg/usr/lib/perl5 $fs/usr/lib
allan316@3226 39
allan316@3226 40 }
allan316@3226 41