wok-4.x rev 3924

Add: nqc
author Matthew Sheets <rcx@zoominternet.net>
date Tue Aug 18 22:04:21 2009 +0000 (2009-08-18)
parents 57a049c42f13
children 78b366b017fc
files nqc/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/nqc/receipt	Tue Aug 18 22:04:21 2009 +0000
     1.3 @@ -0,0 +1,37 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="nqc"
     1.7 +VERSION="3.1.r6-4"
     1.8 +CATEGORY="development"
     1.9 +SHORT_DESC="Compiler for the Not Quite C programming language"
    1.10 +MAINTAINER="rcx@zoominternet.net"
    1.11 +DEPENDS="glibc-base gcc-lib-base"
    1.12 +BUILD_DEPENDS="slitaz-toolchain bison flex m4"
    1.13 +TARBALL="$PACKAGE-$VERSION.bz2"
    1.14 +WEB_SITE="http://bricxcc.sourceforge.net/nqc/"
    1.15 +#WGET_URL="http://bricxcc.sourceforge.net/nqc/release/$TARBALL"
    1.16 +WGET_URL="http://users.zoominternet.net/~rcx/$TARBALL"
    1.17 +
    1.18 +# Rules to configure and make the package.
    1.19 +compile_rules()
    1.20 +{
    1.21 +	# Determine if TOOLPREFIX has been defined in tazwok.conf as it should
    1.22 +	if [ -z "$TOOLPREFIX" ] ; then
    1.23 +		# Provide a default TOOLPREFIX value
    1.24 +		TOOLPREFIX=i486-pc-linux-gnu-
    1.25 +	fi
    1.26 +
    1.27 +	cd $src
    1.28 +	make TOOLPREFIX="$(TOOLPREFIX)" \
    1.29 +		DEFAULT_SERIAL_NAME='"/dev/ttyS0"' \
    1.30 +		DEFAULT_USB_NAME='"/dev/usb/legousbtower0"' \
    1.31 +		DEFAULT_PORT_NAME='"usb"' &&
    1.32 +	make DESTDIR=$src/_pkg PREFIX=/usr install
    1.33 +}
    1.34 +
    1.35 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.36 +genpkg_rules()
    1.37 +{
    1.38 +	mkdir -p $fs/usr
    1.39 +	cp -a $_pkg/usr/bin $fs/usr
    1.40 +}