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

Fix: libdv depends on xorg-libXv
author Antoine Bodin <gokhlayeh@slitaz.org>
date Tue Feb 01 02:53:04 2011 +0100 (2011-02-01)
parents 37f3adfaa485
children 6acf7ee438a7
line source
1 # SliTaz package receipt.
3 PACKAGE="net-snmp"
4 VERSION="5.4.2.1"
5 CATEGORY="network"
6 SHORT_DESC="snmp tools"
7 MAINTAINER="allan316@gmail.com"
8 DEPENDS="openssl"
9 BUILD_DEPENDS="perl openssl-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://net-snmp.sourceforge.net"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 TAGS="snmp"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure \
20 --prefix=/usr \
21 --with-default-snmp-version="1" \
22 --with-sys-contact="user@localhost" \
23 --with-sys-location="unknown" \
24 --with-logfile="/var/log/snmpd.log" \
25 --with-persistent-directory="/var/net-snmp" \
26 $CONFIGURE_ARGS &&
27 make -j 1 && make DESTDIR=$PWD/_pkg install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib/
34 cp -a $_pkg/usr/bin $fs/usr
35 cp -a $_pkg/usr/sbin $fs
36 cp -a $_pkg/usr/share $fs/usr
37 cp -a $_pkg/usr/lib/*so* $fs/usr/lib
38 cp -a $_pkg/usr/lib/perl5 $fs/usr/lib
40 }