wok annotate fxload/receipt @ rev 14920
Up: firefox-langpack-pt_BR (17.0.7esr)
author | Richard Dunbar <mojo@slitaz.org> |
---|---|
date | Tue Aug 06 01:24:03 2013 +0000 (2013-08-06) |
parents | 4a13e7cb398c |
children | 380ffe05937a |
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@14337 | 9 EXTRA_SOURCE_FILES="$PACKAGE" |
pascal@1180 | 10 WEB_SITE="http://www.xorcom.com/" |
pascal@1180 | 11 WGET_URL="http://updates.xorcom.com/astribank/$PACKAGE/$TARBALL" |
pascal@1180 | 12 |
pascal@1180 | 13 # Rules to configure and make the package. |
pascal@1180 | 14 compile_rules() |
pascal@1180 | 15 { |
pascal@1523 | 16 ln -s fxload-*_* $src |
pascal@1523 | 17 cd $src |
pascal@14337 | 18 mkdir -p $DESTDIR/usr/share/usb |
pascal@14337 | 19 cp a3load.hex $DESTDIR/usr/share/usb || return 1 |
pascal@5552 | 20 [ -f $SOURCES_REPOSITORY/$PACKAGE ] && cp $SOURCES_REPOSITORY/$PACKAGE . |
pascal@5552 | 21 if [ ! -f $PACKAGE ]; then |
pascal@5552 | 22 wget http://updates.xorcom.com/astribank/$PACKAGE/$PACKAGE || |
pascal@5552 | 23 return 1 |
pascal@5552 | 24 cp $PACKAGE $SOURCES_REPOSITORY |
pascal@5552 | 25 fi |
pascal@1180 | 26 chmod +x fxload |
pascal@14337 | 27 mkdir -p $DESTDIR/usr/bin |
pascal@14337 | 28 mv fxload $DESTDIR/usr/bin |
pascal@1180 | 29 } |
pascal@1180 | 30 |
pascal@1180 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1180 | 32 genpkg_rules() |
pascal@1180 | 33 { |
pascal@14337 | 34 cp -a $install/usr $fs |
pascal@1180 | 35 } |
pascal@1180 | 36 |