wok-next diff net-snmp/receipt @ rev 16143
ethumb-dev: sync version
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Mar 26 10:18:25 2014 +0100 (2014-03-26) |
parents | 6acf7ee438a7 |
children | f784f25c0128 |
line diff
1.1 --- a/net-snmp/receipt Sat May 21 00:00:18 2011 +0000 1.2 +++ b/net-snmp/receipt Wed Mar 26 10:18:25 2014 +0100 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