wok-next annotate fxload/receipt @ rev 11495
rox-filer: add xorg-libSM to build_depends
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Mon Dec 19 02:49:30 2011 +0100 (2011-12-19) |
parents | ef616884d9ee |
children | b2a632fc9587 |
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@5552 | 19 [ -f $SOURCES_REPOSITORY/$PACKAGE ] && cp $SOURCES_REPOSITORY/$PACKAGE . |
pascal@5552 | 20 if [ ! -f $PACKAGE ]; then |
pascal@5552 | 21 wget http://updates.xorcom.com/astribank/$PACKAGE/$PACKAGE || |
pascal@5552 | 22 return 1 |
pascal@5552 | 23 cp $PACKAGE $SOURCES_REPOSITORY |
pascal@5552 | 24 fi |
pascal@1180 | 25 chmod +x fxload |
pascal@1523 | 26 mkdir -p _pkg/usr/bin |
pascal@1523 | 27 mv fxload _pkg/usr/bin |
pascal@1180 | 28 } |
pascal@1180 | 29 |
pascal@1180 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1180 | 31 genpkg_rules() |
pascal@1180 | 32 { |
pascal@1523 | 33 cp -a $_pkg/usr $fs |
pascal@1180 | 34 } |
pascal@1180 | 35 |