wok view net-snmp/receipt @ rev 18757

syslinux: compress c32 modules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Dec 29 08:59:31 2015 +0100 (2015-12-29)
parents 6acf7ee438a7
children 937925ea7478
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 }