wok view fxload/receipt @ rev 14682

libelementary: Up to 1.7.7
author Dominique Corbex <domcox@slitaz.org>
date Thu Jun 06 22:09:08 2013 +0200 (2013-06-06)
parents 4a13e7cb398c
children 380ffe05937a
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 EXTRA_SOURCE_FILES="$PACKAGE"
10 WEB_SITE="http://www.xorcom.com/"
11 WGET_URL="http://updates.xorcom.com/astribank/$PACKAGE/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 ln -s fxload-*_* $src
17 cd $src
18 mkdir -p $DESTDIR/usr/share/usb
19 cp a3load.hex $DESTDIR/usr/share/usb || return 1
20 [ -f $SOURCES_REPOSITORY/$PACKAGE ] && cp $SOURCES_REPOSITORY/$PACKAGE .
21 if [ ! -f $PACKAGE ]; then
22 wget http://updates.xorcom.com/astribank/$PACKAGE/$PACKAGE ||
23 return 1
24 cp $PACKAGE $SOURCES_REPOSITORY
25 fi
26 chmod +x fxload
27 mkdir -p $DESTDIR/usr/bin
28 mv fxload $DESTDIR/usr/bin
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 cp -a $install/usr $fs
35 }