wok-current view nqc/receipt @ rev 9342

lzma, xz: add lzma --size
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Mar 19 12:43:20 2011 +0100 (2011-03-19)
parents bee79018e13a
children d16a22f66327
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 make -j1 TOOLPREFIX="$TOOLPREFIX" \
21 DEFAULT_SERIAL_NAME='"/dev/ttyS0"' \
22 DEFAULT_USB_NAME='"/dev/usb/legousbtower0"' \
23 DEFAULT_PORT_NAME='"usb"' &&
24 make PREFIX=/usr install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr
31 cp -a $_pkg/usr/bin $fs/usr
32 }