wok-4.x annotate fxload/receipt @ rev 2027

Add: lftp
author Fabrice THIROUX <mimas@slitaz.org>
date Fri Jan 09 00:01:38 2009 +0100 (2009-01-09)
parents 8c61e59b4295
children 4a13e7cb398c
rev   line source
pascal@1180 1 # SliTaz package receipt.
pascal@1180 2
pascal@1180 3 PACKAGE="fxload"
pascal@1180 4 VERSION="0.0.20020411"
pascal@1180 5 CATEGORY="system-tools"
pascal@1180 6 SHORT_DESC="Utility to load xorcom astribank channel bank."
pascal@1180 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@1180 8 TARBALL="${PACKAGE}_${VERSION}.orig.tar.gz"
pascal@1180 9 WEB_SITE="http://www.xorcom.com/"
pascal@1180 10 WGET_URL="http://updates.xorcom.com/astribank/$PACKAGE/$TARBALL"
pascal@1180 11
pascal@1180 12 # Rules to configure and make the package.
pascal@1180 13 compile_rules()
pascal@1180 14 {
pascal@1523 15 ln -s fxload-*_* $src
pascal@1523 16 cd $src
pascal@1523 17 mkdir -p _pkg/usr/share/usb
pascal@1523 18 cp a3load.hex _pkg/usr/share/usb || return 1
pascal@1523 19 wget http://updates.xorcom.com/astribank/$PACKAGE/$PACKAGE || return 1
pascal@1180 20 chmod +x fxload
pascal@1523 21 mkdir -p _pkg/usr/bin
pascal@1523 22 mv fxload _pkg/usr/bin
pascal@1180 23 }
pascal@1180 24
pascal@1180 25 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1180 26 genpkg_rules()
pascal@1180 27 {
pascal@1523 28 cp -a $_pkg/usr $fs
pascal@1180 29 }
pascal@1180 30