wok view net-snmp/receipt @ rev 5024

Up libsoup; drop openssl as dep
author Rohit Joshi <jozee@slitaz.org>
date Tue Mar 02 10:44:06 2010 +0000 (2010-03-02)
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 }