wok view nqc/receipt @ rev 20235

busybox: add arch (uname -m alias)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Mar 05 15:52:59 2018 +0100 (2018-03-05)
parents 3765f181a6d5
children 261355c410d6
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 [ -s $TARBALL ] && tar xjf $TARBALL -C ..
22 make -j1 TOOLPREFIX="$TOOLPREFIX" \
23 DEFAULT_SERIAL_NAME='"/dev/ttyS0"' \
24 DEFAULT_USB_NAME='"/dev/usb/legousbtower0"' \
25 DEFAULT_PORT_NAME='"usb"' &&
26 make PREFIX=/usr MANDIR=/usr/share/man/man1 install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr
33 cp -a $install/usr/bin $fs/usr
34 }