wok view nqc/receipt @ rev 15574

Add lionwiki
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Nov 29 08:13:21 2013 +0000 (2013-11-29)
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 }