wok-6.x diff fxload/receipt @ rev 14952
Up: ethumb-dev (1.7.8)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Thu Aug 08 19:16:04 2013 +0200 (2013-08-08) |
parents | 4a13e7cb398c |
children | 380ffe05937a |
line diff
1.1 --- a/fxload/receipt Thu May 13 22:04:49 2010 +0200 1.2 +++ b/fxload/receipt Thu Aug 08 19:16:04 2013 +0200 1.3 @@ -6,6 +6,7 @@ 1.4 SHORT_DESC="Utility to load xorcom astribank channel bank." 1.5 MAINTAINER="pascal.bellard@slitaz.org" 1.6 TARBALL="${PACKAGE}_${VERSION}.orig.tar.gz" 1.7 +EXTRA_SOURCE_FILES="$PACKAGE" 1.8 WEB_SITE="http://www.xorcom.com/" 1.9 WGET_URL="http://updates.xorcom.com/astribank/$PACKAGE/$TARBALL" 1.10 1.11 @@ -14,8 +15,8 @@ 1.12 { 1.13 ln -s fxload-*_* $src 1.14 cd $src 1.15 - mkdir -p _pkg/usr/share/usb 1.16 - cp a3load.hex _pkg/usr/share/usb || return 1 1.17 + mkdir -p $DESTDIR/usr/share/usb 1.18 + cp a3load.hex $DESTDIR/usr/share/usb || return 1 1.19 [ -f $SOURCES_REPOSITORY/$PACKAGE ] && cp $SOURCES_REPOSITORY/$PACKAGE . 1.20 if [ ! -f $PACKAGE ]; then 1.21 wget http://updates.xorcom.com/astribank/$PACKAGE/$PACKAGE || 1.22 @@ -23,13 +24,13 @@ 1.23 cp $PACKAGE $SOURCES_REPOSITORY 1.24 fi 1.25 chmod +x fxload 1.26 - mkdir -p _pkg/usr/bin 1.27 - mv fxload _pkg/usr/bin 1.28 + mkdir -p $DESTDIR/usr/bin 1.29 + mv fxload $DESTDIR/usr/bin 1.30 } 1.31 1.32 # Rules to gen a SliTaz package suitable for Tazpkg. 1.33 genpkg_rules() 1.34 { 1.35 - cp -a $_pkg/usr $fs 1.36 + cp -a $install/usr $fs 1.37 } 1.38