wok-4.x view fxload/receipt @ rev 5556
Up lguest (2.6.33.4)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu May 13 23:09:54 2010 +0200 (2010-05-13) |
parents | ef616884d9ee |
children |
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 }