wok-6.x view fxload/receipt @ rev 16912
workerfm: add license
author | Yuri Pourre <yuripourre@gmail.com> |
---|---|
date | Tue Jul 15 21:27:35 2014 -0300 (2014-07-15) |
parents | b2a632fc9587 |
children | 6d04a1dcf69f |
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 LICENSE="GPL2"
9 TARBALL="${PACKAGE}_${VERSION}.orig.tar.gz"
10 EXTRA_SOURCE_FILES="$PACKAGE"
11 WEB_SITE="http://www.xorcom.com/"
12 WGET_URL="http://updates.xorcom.com/astribank/$PACKAGE/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 ln -s fxload-*_* $src
18 cd $src
19 mkdir -p $DESTDIR/usr/share/usb
20 cp a3load.hex $DESTDIR/usr/share/usb || return 1
21 [ -f $SOURCES_REPOSITORY/$PACKAGE ] && cp $SOURCES_REPOSITORY/$PACKAGE .
22 if [ ! -f $PACKAGE ]; then
23 wget http://updates.xorcom.com/astribank/$PACKAGE/$PACKAGE ||
24 return 1
25 cp $PACKAGE $SOURCES_REPOSITORY
26 fi
27 chmod +x fxload
28 mkdir -p $DESTDIR/usr/bin
29 mv fxload $DESTDIR/usr/bin
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 cp -a $install/usr $fs
36 }