wok-stable diff fxload/receipt @ rev 2863
sudo (1.7.1) [security update]
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat May 02 10:36:16 2009 +0200 (2009-05-02) |
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 May 02 10:36:16 2009 +0200 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