wok-next view net-snmp/receipt @ rev 16169
ARM: add tint2 and wbar2 for a nice OpenBox desktop
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Mar 30 00:47:31 2014 +0100 (2014-03-30) |
parents | 6acf7ee438a7 |
children | f784f25c0128 |
line source
1 # SliTaz package receipt.
3 PACKAGE="net-snmp"
4 VERSION="5.6.1"
5 CATEGORY="network"
6 SHORT_DESC="snmp tools"
7 MAINTAINER="allan316@gmail.com"
8 LICENSE="BSD"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://net-snmp.sourceforge.net"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 TAGS="snmp"
14 DEPENDS="openssl"
15 BUILD_DEPENDS="perl openssl-dev file"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 ./configure \
22 --prefix=/usr \
23 --with-default-snmp-version="1" \
24 --with-sys-contact="user@localhost" \
25 --with-sys-location="unknown" \
26 --with-logfile="/var/log/snmpd.log" \
27 --with-persistent-directory="/var/net-snmp" \
28 $CONFIGURE_ARGS &&
29 make -j 1 && make DESTDIR=$DESTDIR install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/lib/
36 cp -a $install/usr/bin $fs/usr
37 cp -a $install/usr/sbin $fs
38 cp -a $install/usr/share $fs/usr
39 cp -a $install/usr/lib/*so* $fs/usr/lib
40 cp -a $install/usr/lib/perl5 $fs/usr/lib
41 }