wok-6.x view net-snmp/receipt @ rev 4883
xorg-xf86-input-*touch: update BUILD_DEPENDS
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Feb 05 15:01:53 2010 +0100 (2010-02-05) |
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 }