wok diff net-snmp/receipt @ rev 23854

Up dbus (1.12.18)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jun 16 12:51:04 2020 +0000 (2020-06-16)
parents 937925ea7478
children e2073ef01171
line diff
     1.1 --- a/net-snmp/receipt	Sun Nov 17 23:42:49 2019 +0100
     1.2 +++ b/net-snmp/receipt	Tue Jun 16 12:51:04 2020 +0000
     1.3 @@ -1,41 +1,44 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="net-snmp"
     1.7 -VERSION="5.6.1"
     1.8 +VERSION="5.8"
     1.9  CATEGORY="network"
    1.10 -SHORT_DESC="snmp tools"
    1.11 +TAGS="snmp"
    1.12 +SHORT_DESC="SNMP tools."
    1.13  MAINTAINER="allan316@gmail.com"
    1.14  LICENSE="BSD"
    1.15 +WEB_SITE="https://sourceforge.net/projects/net-snmp/"
    1.16 +
    1.17  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.18 -WEB_SITE="http://net-snmp.sourceforge.net"
    1.19  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.20 -TAGS="snmp"
    1.21  
    1.22  DEPENDS="openssl"
    1.23 -BUILD_DEPENDS="perl openssl-dev file"
    1.24 +BUILD_DEPENDS="file openssl-dev perl"
    1.25  
    1.26  # Rules to configure and make the package.
    1.27  compile_rules()
    1.28  {
    1.29 -	./configure \
    1.30 -		--prefix=/usr \
    1.31 -		--with-default-snmp-version="1" \
    1.32 -		--with-sys-contact="user@localhost" \
    1.33 -		--with-sys-location="unknown" \
    1.34 -		--with-logfile="/var/log/snmpd.log" \
    1.35 -		--with-persistent-directory="/var/net-snmp" \
    1.36 +	./configure						\
    1.37 +		--prefix=/usr					\
    1.38 +		--with-default-snmp-version="1"			\
    1.39 +		--with-sys-contact="user@localhost"		\
    1.40 +		--with-sys-location="unknown"			\
    1.41 +		--with-logfile="/var/log/snmpd.log"		\
    1.42 +		--with-persistent-directory="/var/net-snmp"	\
    1.43  		$CONFIGURE_ARGS &&
    1.44 -	make -j 1 && make -j 1 DESTDIR=$DESTDIR install
    1.45 +	make -j 1 &&
    1.46 +	make -j 1 DESTDIR=$DESTDIR install
    1.47  }
    1.48  
    1.49  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.50  genpkg_rules()
    1.51  {
    1.52  	mkdir -p $fs/usr/lib/ 
    1.53 -	cp -a $install/usr/bin $fs/usr
    1.54 -	cp -a $install/usr/sbin $fs
    1.55 -	cp -a $install/usr/share $fs/usr
    1.56 -	cp -a $install/usr/lib/*so* $fs/usr/lib
    1.57 -	cp -a $install/usr/lib/perl5 $fs/usr/lib
    1.58 +
    1.59 +	cp -a $install/usr/bin		$fs/usr
    1.60 +	cp -a $install/usr/sbin		$fs
    1.61 +	cp -a $install/usr/share	$fs/usr
    1.62 +	cp -a $install/usr/lib/*so*	$fs/usr/lib
    1.63 +	cp -a $install/usr/lib/perl5	$fs/usr/lib
    1.64  }
    1.65