wok diff net-snmp/receipt @ rev 18877

Up slitaz-base-files(298), slitaz-boot-scripts(422)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Feb 08 10:29:19 2016 +0200 (2016-02-08)
parents 6acf7ee438a7
children 937925ea7478
line diff
     1.1 --- a/net-snmp/receipt	Sat May 21 00:00:18 2011 +0000
     1.2 +++ b/net-snmp/receipt	Mon Feb 08 10:29:19 2016 +0200
     1.3 @@ -5,13 +5,15 @@
     1.4  CATEGORY="network"
     1.5  SHORT_DESC="snmp tools"
     1.6  MAINTAINER="allan316@gmail.com"
     1.7 -DEPENDS="openssl"
     1.8 -BUILD_DEPENDS="perl openssl-dev file"
     1.9 +LICENSE="BSD"
    1.10  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.11  WEB_SITE="http://net-snmp.sourceforge.net"
    1.12  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.13  TAGS="snmp"
    1.14  
    1.15 +DEPENDS="openssl"
    1.16 +BUILD_DEPENDS="perl openssl-dev file"
    1.17 +
    1.18  # Rules to configure and make the package.
    1.19  compile_rules()
    1.20  {
    1.21 @@ -24,18 +26,17 @@
    1.22  		--with-logfile="/var/log/snmpd.log" \
    1.23  		--with-persistent-directory="/var/net-snmp" \
    1.24  		$CONFIGURE_ARGS &&
    1.25 -	make -j 1 && make DESTDIR=$PWD/_pkg install
    1.26 +	make -j 1 && make DESTDIR=$DESTDIR install
    1.27  }
    1.28  
    1.29  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.30  genpkg_rules()
    1.31  {
    1.32  	mkdir -p $fs/usr/lib/ 
    1.33 -	cp -a $_pkg/usr/bin $fs/usr
    1.34 -	cp -a $_pkg/usr/sbin $fs
    1.35 -	cp -a $_pkg/usr/share $fs/usr
    1.36 -	cp -a $_pkg/usr/lib/*so* $fs/usr/lib
    1.37 -	cp -a $_pkg/usr/lib/perl5 $fs/usr/lib
    1.38 -	
    1.39 +	cp -a $install/usr/bin $fs/usr
    1.40 +	cp -a $install/usr/sbin $fs
    1.41 +	cp -a $install/usr/share $fs/usr
    1.42 +	cp -a $install/usr/lib/*so* $fs/usr/lib
    1.43 +	cp -a $install/usr/lib/perl5 $fs/usr/lib
    1.44  }
    1.45