wok-6.x view fxload/receipt @ rev 7674

Fixed linux. Need to make folder PWD/_pkg before adding bzImage to it. Also i'm force copying kernel config file now so we have the right config. It is copyed twice so its needed and doesn't hunt anything i think.
author Christopher Rogers <slaxemulator@gmail.com>
date Thu Dec 16 17:16:06 2010 +0000 (2010-12-16)
parents ef616884d9ee
children b2a632fc9587
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 WEB_SITE="http://www.xorcom.com/"
10 WGET_URL="http://updates.xorcom.com/astribank/$PACKAGE/$TARBALL"
12 # Rules to configure and make the package.
13 compile_rules()
14 {
15 ln -s fxload-*_* $src
16 cd $src
17 mkdir -p _pkg/usr/share/usb
18 cp a3load.hex _pkg/usr/share/usb || return 1
19 [ -f $SOURCES_REPOSITORY/$PACKAGE ] && cp $SOURCES_REPOSITORY/$PACKAGE .
20 if [ ! -f $PACKAGE ]; then
21 wget http://updates.xorcom.com/astribank/$PACKAGE/$PACKAGE ||
22 return 1
23 cp $PACKAGE $SOURCES_REPOSITORY
24 fi
25 chmod +x fxload
26 mkdir -p _pkg/usr/bin
27 mv fxload _pkg/usr/bin
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 cp -a $_pkg/usr $fs
34 }