wok-stable diff ocsinventory-agent/receipt @ rev 9714

glibc: like GCC also need gawk
author Christophe Lincoln <pankso@slitaz.org>
date Sun May 08 23:33:17 2011 +0200 (2011-05-08)
parents 0b4cf0d9e1b5
children fe7e875f7d99
line diff
     1.1 --- a/ocsinventory-agent/receipt	Mon Feb 14 19:09:46 2011 +0100
     1.2 +++ b/ocsinventory-agent/receipt	Sun May 08 23:33:17 2011 +0200
     1.3 @@ -16,16 +16,14 @@
     1.4  # Rules to configure and make the package.
     1.5  compile_rules()
     1.6  {
     1.7 -	src=$WOK/$PACKAGE/Ocsinventory-Agent-${VERSION}
     1.8 -
     1.9 -	cp stuff/Slitaz.pm $src/lib/Ocsinventory/Agent/Backend/OS/Linux/Distro/NonLSB
    1.10 -	cp stuff/Tazpkg.pm $src/lib/Ocsinventory/Agent/Backend/OS/Generic/Packaging
    1.11 +	cp $stuff/Slitaz.pm $src/lib/Ocsinventory/Agent/Backend/OS/Linux/Distro/NonLSB
    1.12 +	cp $stuff/Tazpkg.pm $src/lib/Ocsinventory/Agent/Backend/OS/Generic/Packaging
    1.13  	
    1.14  	cd $src
    1.15  	
    1.16  	# don't run postinstall script
    1.17  	rm -f run-postinst
    1.18 -	for p in ../stuff/ocsinventory-agent-1.1.2.1.u
    1.19 +	for p in $stuff/ocsinventory-agent-1.1.2.1.u
    1.20  	do
    1.21  		[ -f done.$(basename $p) ] && continue
    1.22  		patch -p1 -i $p || return 1
    1.23 @@ -39,8 +37,6 @@
    1.24  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.25  genpkg_rules()
    1.26  {
    1.27 -	_pkg=$WOK/$PACKAGE/Ocsinventory-Agent-${VERSION}/_pkg
    1.28 -		
    1.29  	mkdir -p $fs/usr \
    1.30  		$fs/etc/ocsinventory-agent \
    1.31  		$fs/var/lib/ocsinventory-agent
    1.32 @@ -61,10 +57,5 @@
    1.33  		install -o root -g root -m 0755 -d $1/var/lib/dpkg
    1.34  		touch $1/var/lib/dpkg/status
    1.35  	fi
    1.36 -}	
    1.37 -
    1.38 -clean_wok()
    1.39 -{
    1.40 -	[ -d Ocsinventory-Agent-${VERSION} ] && rm -rf Ocsinventory-Agent-${VERSION}
    1.41  }
    1.42