wok-next view fxload/receipt @ rev 9203
Up: emacs to 23.3.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Thu Mar 10 12:07:37 2011 +0000 (2011-03-10) |
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 }