wok-6.x view nqc/receipt @ rev 14233

Up tazpanel (1.6.3)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 22 08:48:17 2013 +0100 (2013-03-22)
parents e12edf09e821
children 3765f181a6d5
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="flex"
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"
14 TAGS="compiler language"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 [ -s $TARBALL ] && tar xjf $TARBALL -C ..
21 make -j1 TOOLPREFIX="$TOOLPREFIX" \
22 DEFAULT_SERIAL_NAME='"/dev/ttyS0"' \
23 DEFAULT_USB_NAME='"/dev/usb/legousbtower0"' \
24 DEFAULT_PORT_NAME='"usb"' &&
25 make PREFIX=/usr install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr
32 cp -a $_pkg/usr/bin $fs/usr
33 }