wok-current diff fxload/receipt @ rev 3439

Add: slurm
author Paul Issott <paul@slitaz.org>
date Sat Jun 13 22:15:33 2009 +0000 (2009-06-13)
parents 8c61e59b4295
children 4a13e7cb398c
line diff
     1.1 --- a/fxload/receipt	Fri Oct 03 16:18:35 2008 +0000
     1.2 +++ b/fxload/receipt	Sat Jun 13 22:15:33 2009 +0000
     1.3 @@ -12,18 +12,19 @@
     1.4  # Rules to configure and make the package.
     1.5  compile_rules()
     1.6  {
     1.7 -	ln -s fxload-* $src
     1.8 -	wget http://updates.xorcom.com/astribank/$PACKAGE/$PACKAGE
     1.9 +	ln -s fxload-*_* $src
    1.10 +	cd $src
    1.11 +	mkdir -p _pkg/usr/share/usb
    1.12 +	cp a3load.hex _pkg/usr/share/usb || return 1
    1.13 +	wget http://updates.xorcom.com/astribank/$PACKAGE/$PACKAGE || return 1
    1.14  	chmod +x fxload
    1.15 +	mkdir -p _pkg/usr/bin
    1.16 +	mv fxload _pkg/usr/bin
    1.17  }
    1.18  
    1.19  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.20  genpkg_rules()
    1.21  {
    1.22 -
    1.23 -	mkdir -p $fs/usr/bin $fs/usr/share/usb
    1.24 -	cp -a fxload $fs/usr/bin
    1.25 -	cp -a fxload*/a3load.hex $fs/usr/share/usb
    1.26 -	
    1.27 +	cp -a $_pkg/usr $fs	
    1.28  }
    1.29