wok-6.x annotate nqc/receipt @ rev 7075

nanochess: resize to window height
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Nov 02 20:34:30 2010 +0100 (2010-11-02)
parents 7c7d61c79e14
children e12edf09e821
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"
jozee@4969 14 TAGS="compiler language"
rcx@3924 15
rcx@3924 16 # Rules to configure and make the package.
rcx@3924 17 compile_rules()
rcx@3924 18 {
rcx@3924 19 cd $src
rcx@3924 20 make TOOLPREFIX="$(TOOLPREFIX)" \
rcx@3924 21 DEFAULT_SERIAL_NAME='"/dev/ttyS0"' \
rcx@3924 22 DEFAULT_USB_NAME='"/dev/usb/legousbtower0"' \
rcx@3924 23 DEFAULT_PORT_NAME='"usb"' &&
rcx@3924 24 make DESTDIR=$src/_pkg PREFIX=/usr install
rcx@3924 25 }
rcx@3924 26
rcx@3924 27 # Rules to gen a SliTaz package suitable for Tazpkg.
rcx@3924 28 genpkg_rules()
rcx@3924 29 {
rcx@3924 30 mkdir -p $fs/usr
rcx@3924 31 cp -a $_pkg/usr/bin $fs/usr
rcx@3924 32 }