wok diff glpi/receipt @ rev 8751

Removed all/most _pkg= lines in wok. The new tazwok-experimental can SOURCE paths and source are are all extracted to WOK/PACKAGE/PACKAGE-VERSION now with tazwok-experimental.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun Feb 20 06:53:59 2011 +0000 (2011-02-20)
parents 9dde2e58512f
children 012847ddd0cb
line diff
     1.1 --- a/glpi/receipt	Fri Feb 04 00:56:21 2011 +0100
     1.2 +++ b/glpi/receipt	Sun Feb 20 06:53:59 2011 +0000
     1.3 @@ -14,16 +14,12 @@
     1.4  # Rules to gen a SliTaz package suitable for Tazpkg.
     1.5  genpkg_rules()
     1.6  {
     1.7 -	test -d $PACKAGE && mv $PACKAGE $PACKAGE-$VERSION
     1.8 -	
     1.9 -	_pkg=$src
    1.10 -	
    1.11  	mkdir -p $fs/usr/share/$PACKAGE \
    1.12  		$fs/etc/$PACKAGE \
    1.13  		$fs/var/log/$PACKAGE \
    1.14  		$fs/var/lib/$PACKAGE
    1.15  		 
    1.16 -	cp -a $_pkg/* $fs/usr/share/$PACKAGE
    1.17 +	cp -a $src/* $fs/usr/share/$PACKAGE
    1.18  	[ -d $fs/usr/share/$PACKAGE/files ] &&  mv $fs/usr/share/$PACKAGE/files $fs/var/lib/$PACKAGE
    1.19  
    1.20  	# Copy config db as temporary file.