wok-next view fxload/receipt @ rev 1523

fxload: fix compile_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Oct 08 17:05:29 2008 +0000 (2008-10-08)
parents 8c61e59b4295
children 4a13e7cb398c
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 wget http://updates.xorcom.com/astribank/$PACKAGE/$PACKAGE || return 1
20 chmod +x fxload
21 mkdir -p _pkg/usr/bin
22 mv fxload _pkg/usr/bin
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 cp -a $_pkg/usr $fs
29 }