wok-4.x view 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 |
line source
1 # SliTaz package receipt.
3 PACKAGE="nqc"
4 VERSION="3.1.r6-4"
5 CATEGORY="development"
6 SHORT_DESC="Compiler for the Not Quite C programming language"
7 MAINTAINER="rcx@zoominternet.net"
8 DEPENDS="glibc-base gcc-lib-base"
9 BUILD_DEPENDS="slitaz-toolchain bison flex m4"
10 TARBALL="$PACKAGE-$VERSION.bz2"
11 WEB_SITE="http://bricxcc.sourceforge.net/nqc/"
12 #WGET_URL="http://bricxcc.sourceforge.net/nqc/release/$TARBALL"
13 WGET_URL="http://users.zoominternet.net/~rcx/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 # Determine if TOOLPREFIX has been defined in tazwok.conf as it should
19 if [ -z "$TOOLPREFIX" ] ; then
20 # Provide a default TOOLPREFIX value
21 TOOLPREFIX=i486-pc-linux-gnu-
22 fi
24 cd $src
25 make TOOLPREFIX="$(TOOLPREFIX)" \
26 DEFAULT_SERIAL_NAME='"/dev/ttyS0"' \
27 DEFAULT_USB_NAME='"/dev/usb/legousbtower0"' \
28 DEFAULT_PORT_NAME='"usb"' &&
29 make DESTDIR=$src/_pkg PREFIX=/usr install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr
36 cp -a $_pkg/usr/bin $fs/usr
37 }