wok view nqc/receipt @ rev 17541
Add zstd
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jan 26 15:15:08 2015 +0100 (2015-01-26) |
parents | d16a22f66327 |
children | 8a74e7b0ff7f |
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 LICENSE="MPL"
9 TARBALL="$PACKAGE-$VERSION.bz2"
10 WEB_SITE="http://bricxcc.sourceforge.net/nqc/"
11 #WGET_URL="http://bricxcc.sourceforge.net/nqc/release/$TARBALL"
12 WGET_URL="http://users.zoominternet.net/~rcx/$TARBALL"
13 TAGS="compiler language"
15 DEPENDS="glibc-base gcc-lib-base"
16 BUILD_DEPENDS="flex"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 [ -s $TARBALL ] && tar xjf $TARBALL -C ..
23 make -j1 TOOLPREFIX="$TOOLPREFIX" \
24 DEFAULT_SERIAL_NAME='"/dev/ttyS0"' \
25 DEFAULT_USB_NAME='"/dev/usb/legousbtower0"' \
26 DEFAULT_PORT_NAME='"usb"' &&
27 make PREFIX=/usr install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr
34 cp -a $install/usr/bin $fs/usr
35 }