wok diff ocsinventory-agent/receipt @ rev 9623

Fixed libdrm-mach64. linux-module-headers should be build depend instead of depend in libdrm-mach64.
author Christopher Rogers <slaxemulator@gmail.com>
date Fri Apr 22 17:35:25 2011 +0000 (2011-04-22)
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	Fri Apr 22 17:35:25 2011 +0000
     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