wok-stable view net-snmp/receipt @ rev 4986

fix: RAM for get-eclipse-pdt
author Rohit Joshi <jozee@slitaz.org>
date Thu Feb 25 10:43:08 2010 +0000 (2010-02-25)
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 }