wok-stable view net-snmp/receipt @ rev 6919
merge
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Fri Oct 22 14:17:22 2010 +0000 (2010-10-22) |
parents | 49e501a55595 |
children | 99a2fb1f6def |
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 }