wok-6.x view net-snmp/receipt @ rev 5581

Up mplayer-svn (31179)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun May 16 10:10:30 2010 +0200 (2010-05-16)
parents be45f9851c10
children 49e501a55595
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 && 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 }