wok view fxload/receipt @ rev 10468

testdisk: fix path
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed May 25 11:41:14 2011 +0200 (2011-05-25)
parents ef616884d9ee
children b2a632fc9587
line source
1 # SliTaz package receipt.
3 PACKAGE="fxload"
4 VERSION="0.0.20020411"
5 CATEGORY="system-tools"
6 SHORT_DESC="Utility to load xorcom astribank channel bank."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="${PACKAGE}_${VERSION}.orig.tar.gz"
9 WEB_SITE="http://www.xorcom.com/"
10 WGET_URL="http://updates.xorcom.com/astribank/$PACKAGE/$TARBALL"
12 # Rules to configure and make the package.
13 compile_rules()
14 {
15 ln -s fxload-*_* $src
16 cd $src
17 mkdir -p _pkg/usr/share/usb
18 cp a3load.hex _pkg/usr/share/usb || return 1
19 [ -f $SOURCES_REPOSITORY/$PACKAGE ] && cp $SOURCES_REPOSITORY/$PACKAGE .
20 if [ ! -f $PACKAGE ]; then
21 wget http://updates.xorcom.com/astribank/$PACKAGE/$PACKAGE ||
22 return 1
23 cp $PACKAGE $SOURCES_REPOSITORY
24 fi
25 chmod +x fxload
26 mkdir -p _pkg/usr/bin
27 mv fxload _pkg/usr/bin
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 cp -a $_pkg/usr $fs
34 }