wok diff ocsinventory-agent/receipt @ rev 8385

Up: ocsinventory-agent (1.1.2.1)
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Fri Feb 04 17:07:42 2011 +0100 (2011-02-04)
parents d52175c64f51
children 0b4cf0d9e1b5
line diff
     1.1 --- a/ocsinventory-agent/receipt	Fri Jan 29 16:30:54 2010 +0100
     1.2 +++ b/ocsinventory-agent/receipt	Fri Feb 04 17:07:42 2011 +0100
     1.3 @@ -1,22 +1,22 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="ocsinventory-agent"
     1.7 -VERSION="1.02"
     1.8 +VERSION="1.1.2.1"
     1.9  CATEGORY="network"
    1.10  SHORT_DESC="OCS Inventory NG agent for Linux."
    1.11  MAINTAINER="erjo@slitaz.org"
    1.12 -SOURCE="OCSNG_UNIX_AGENT"
    1.13 +SOURCE="Ocsinventory-Agent"
    1.14  TARBALL="$SOURCE-$VERSION.tar.gz"
    1.15  DEPENDS="perl perl-lwp-useragent perl-uri dmidecode"
    1.16  SUGGESTED="nmap perl-net-ssleay"
    1.17  BUILD_DEPENDS="perl"
    1.18  WEB_SITE="http://www.ocsinventory-ng.org/"
    1.19 -WGET_URL="http://downloads.sourceforge.net/sourceforge/ocsinventory/$TARBALL"
    1.20 +WGET_URL="http://launchpad.net/ocsinventory-unix-agent/stable-1.1.2/ocsinventory-unix-agent-1.1.2.1/+download/$TARBALL"
    1.21  
    1.22  # Rules to configure and make the package.
    1.23  compile_rules()
    1.24  {
    1.25 -	src=$WOK/$PACKAGE/Ocsinventory-Agent-1.0.1
    1.26 +	src=$WOK/$PACKAGE/Ocsinventory-Agent-${VERSION}
    1.27  
    1.28  	cp stuff/Slitaz.pm $src/lib/Ocsinventory/Agent/Backend/OS/Linux/Distro/NonLSB
    1.29  	cp stuff/Tazpkg.pm $src/lib/Ocsinventory/Agent/Backend/OS/Generic/Packaging
    1.30 @@ -25,7 +25,7 @@
    1.31  	
    1.32  	# don't run postinstall script
    1.33  	rm -f run-postinst
    1.34 -	for p in ../stuff/*.u
    1.35 +	for p in ../stuff/ocsinventory-agent-1.1.2.1.u
    1.36  	do
    1.37  		[ -f done.$(basename $p) ] && continue
    1.38  		patch -p1 -i $p || exit
    1.39 @@ -39,7 +39,7 @@
    1.40  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.41  genpkg_rules()
    1.42  {
    1.43 -	_pkg=$WOK/$PACKAGE/Ocsinventory-Agent-1.0.1/_pkg
    1.44 +	_pkg=$WOK/$PACKAGE/Ocsinventory-Agent-${VERSION}/_pkg
    1.45  		
    1.46  	mkdir -p $fs/usr \
    1.47  		$fs/etc/ocsinventory-agent \
    1.48 @@ -65,6 +65,6 @@
    1.49  
    1.50  clean_wok()
    1.51  {
    1.52 -	[ -d Ocsinventory-Agent-1.0.1 ] && rm -rf Ocsinventory-Agent-1.0.1
    1.53 +	[ -d Ocsinventory-Agent-${VERSION} ] && rm -rf Ocsinventory-Agent-${VERSION}
    1.54  }
    1.55