wok view net-snmp/receipt @ rev 3717
Add: lirc
author | Matthew Sheets <rcx@zoominternet.net> |
---|---|
date | Tue Jul 21 11:57:57 2009 +0000 (2009-07-21) |
parents | be68bb295c6a |
children | bee79018e13a |
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"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --prefix=/usr \
20 --with-default-snmp-version="1" \
21 --with-sys-contact="user@localhost" \
22 --with-sys-location="unknown" \
23 --with-logfile="/var/log/snmpd.log" \
24 --with-persistent-directory="/var/net-snmp" \
25 $CONFIGURE_ARGS &&
26 make && make DESTDIR=$PWD/_pkg install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/lib/
33 cp -a $_pkg/usr/bin $fs/usr
34 cp -a $_pkg/usr/sbin $fs
35 cp -a $_pkg/usr/share $fs/usr
36 cp -a $_pkg/usr/lib/*so* $fs/usr/lib
37 cp -a $_pkg/usr/lib/perl5 $fs/usr/lib
39 }