wok-6.x annotate nqc/receipt @ rev 8863
nqc needs -j1 to compile
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Sat Feb 26 03:58:13 2011 +0100 (2011-02-26) |
parents | bee79018e13a |
children | d16a22f66327 |
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" |
gokhlayeh@8863 | 9 BUILD_DEPENDS="flex" |
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 |
gokhlayeh@8863 | 20 make -j1 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"' && |
gokhlayeh@8863 | 24 make 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 } |