wok-current annotate nqc/receipt @ rev 4969
add/improve TAGS n* receipts
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Wed Feb 24 10:31:06 2010 +0000 (2010-02-24) |
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 } |