wok-current diff ocsinventory-agent/receipt @ rev 17317
Add tix
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Nov 04 08:58:28 2014 +0100 (2014-11-04) |
parents | f827295ec186 |
children | d3eb5f4b53ea |
line diff
1.1 --- a/ocsinventory-agent/receipt Sun Apr 15 14:26:19 2012 +0200 1.2 +++ b/ocsinventory-agent/receipt Tue Nov 04 08:58:28 2014 +0100 1.3 @@ -5,14 +5,16 @@ 1.4 CATEGORY="network" 1.5 SHORT_DESC="OCS Inventory NG agent for Linux." 1.6 MAINTAINER="erjo@slitaz.org" 1.7 +LICENSE="GPL2" 1.8 SOURCE="Ocsinventory-Unix-Agent" 1.9 TARBALL="$SOURCE-$VERSION.tar.gz" 1.10 -DEPENDS="perl perl-libwww perl-uri dmidecode" 1.11 SUGGESTED="nmap perl-net-ssleay" 1.12 -BUILD_DEPENDS="perl wget" 1.13 WEB_SITE="http://www.ocsinventory-ng.org/" 1.14 WGET_URL="https://launchpad.net/ocsinventory-unix-agent/stable-2.0/2.0.4/+download/$TARBALL" 1.15 1.16 +DEPENDS="perl perl-libwww perl-uri dmidecode" 1.17 +BUILD_DEPENDS="perl wget" 1.18 + 1.19 # Rules to configure and make the package. 1.20 compile_rules() 1.21 { 1.22 @@ -31,7 +33,7 @@ 1.23 done 1.24 perl Makefile.PL 1.25 rm -f run-postinst 1.26 - make && make DESTDIR=$PWD/_pkg install 1.27 + make && make DESTDIR=$DESTDIR install 1.28 } 1.29 1.30 # Rules to gen a SliTaz package suitable for Tazpkg. 1.31 @@ -41,8 +43,8 @@ 1.32 $fs/etc/ocsinventory-agent \ 1.33 $fs/var/lib/ocsinventory-agent 1.34 1.35 - cp -a $_pkg/usr/bin $fs/usr 1.36 - cp -a $_pkg/usr/lib $fs/usr 1.37 + cp -a $install/usr/bin $fs/usr 1.38 + cp -a $install/usr/lib $fs/usr 1.39 } 1.40 1.41 post_install(){