wok-next annotate nqc/receipt @ rev 4082
slitaz-loram-cdrom: add usb delay
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Sep 15 22:47:44 2009 +0200 (2009-09-15) |
parents | 80e708ceb99a |
children | bee79018e13a |
rev | line source |
---|---|
rcx@3924 | 1 # SliTaz package receipt. |
rcx@3924 | 2 |
rcx@3924 | 3 PACKAGE="nqc" |
rcx@3924 | 4 VERSION="3.1.r6-4" |
rcx@3924 | 5 CATEGORY="development" |
rcx@3991 | 6 SHORT_DESC="Compiler for the Not Quite C programming language." |
rcx@3924 | 7 MAINTAINER="rcx@zoominternet.net" |
rcx@3924 | 8 DEPENDS="glibc-base gcc-lib-base" |
rcx@3924 | 9 BUILD_DEPENDS="slitaz-toolchain bison flex m4" |
rcx@3924 | 10 TARBALL="$PACKAGE-$VERSION.bz2" |
rcx@3924 | 11 WEB_SITE="http://bricxcc.sourceforge.net/nqc/" |
rcx@3924 | 12 #WGET_URL="http://bricxcc.sourceforge.net/nqc/release/$TARBALL" |
rcx@3924 | 13 WGET_URL="http://users.zoominternet.net/~rcx/$TARBALL" |
rcx@3924 | 14 |
rcx@3924 | 15 # Rules to configure and make the package. |
rcx@3924 | 16 compile_rules() |
rcx@3924 | 17 { |
rcx@3924 | 18 cd $src |
rcx@3924 | 19 make TOOLPREFIX="$(TOOLPREFIX)" \ |
rcx@3924 | 20 DEFAULT_SERIAL_NAME='"/dev/ttyS0"' \ |
rcx@3924 | 21 DEFAULT_USB_NAME='"/dev/usb/legousbtower0"' \ |
rcx@3924 | 22 DEFAULT_PORT_NAME='"usb"' && |
rcx@3924 | 23 make DESTDIR=$src/_pkg PREFIX=/usr install |
rcx@3924 | 24 } |
rcx@3924 | 25 |
rcx@3924 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
rcx@3924 | 27 genpkg_rules() |
rcx@3924 | 28 { |
rcx@3924 | 29 mkdir -p $fs/usr |
rcx@3924 | 30 cp -a $_pkg/usr/bin $fs/usr |
rcx@3924 | 31 } |