wok-6.x annotate nqc/receipt @ rev 3924
Add: nqc
author | Matthew Sheets <rcx@zoominternet.net> |
---|---|
date | Tue Aug 18 22:04:21 2009 +0000 (2009-08-18) |
parents | |
children | 7c7d61c79e14 |
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@3924 | 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 # Determine if TOOLPREFIX has been defined in tazwok.conf as it should |
rcx@3924 | 19 if [ -z "$TOOLPREFIX" ] ; then |
rcx@3924 | 20 # Provide a default TOOLPREFIX value |
rcx@3924 | 21 TOOLPREFIX=i486-pc-linux-gnu- |
rcx@3924 | 22 fi |
rcx@3924 | 23 |
rcx@3924 | 24 cd $src |
rcx@3924 | 25 make TOOLPREFIX="$(TOOLPREFIX)" \ |
rcx@3924 | 26 DEFAULT_SERIAL_NAME='"/dev/ttyS0"' \ |
rcx@3924 | 27 DEFAULT_USB_NAME='"/dev/usb/legousbtower0"' \ |
rcx@3924 | 28 DEFAULT_PORT_NAME='"usb"' && |
rcx@3924 | 29 make DESTDIR=$src/_pkg PREFIX=/usr install |
rcx@3924 | 30 } |
rcx@3924 | 31 |
rcx@3924 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
rcx@3924 | 33 genpkg_rules() |
rcx@3924 | 34 { |
rcx@3924 | 35 mkdir -p $fs/usr |
rcx@3924 | 36 cp -a $_pkg/usr/bin $fs/usr |
rcx@3924 | 37 } |