wok-4.x view nqc/receipt @ rev 4674
Up: python-formalchemy (1.3.1)
author | Claudinei Pereira <claudinei@slitaz.org> |
---|---|
date | Tue Dec 29 18:34:26 2009 +0000 (2009-12-29) |
parents | 80e708ceb99a |
children | bee79018e13a |
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="slitaz-toolchain bison flex m4"
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"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 make TOOLPREFIX="$(TOOLPREFIX)" \
20 DEFAULT_SERIAL_NAME='"/dev/ttyS0"' \
21 DEFAULT_USB_NAME='"/dev/usb/legousbtower0"' \
22 DEFAULT_PORT_NAME='"usb"' &&
23 make DESTDIR=$src/_pkg PREFIX=/usr install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr
30 cp -a $_pkg/usr/bin $fs/usr
31 }