wok-next view nqc/receipt @ rev 20513

A lot of tiny edits; remove wget and pkg-build from $BUILD_DEPENDS and from *-dev packages $DEPENDS.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Mar 21 15:58:17 2018 +0200 (2018-03-21)
parents 8a74e7b0ff7f
children d5aab818505e
line source
1 # SliTaz package receipt v2.
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 WEB_SITE="http://bricxcc.sourceforge.net/nqc/"
11 TARBALL="$PACKAGE-$VERSION.bz2"
12 #WGET_URL="http://bricxcc.sourceforge.net/nqc/release/$TARBALL"
13 WGET_URL="http://users.zoominternet.net/~rcx/$TARBALL"
15 BUILD_DEPENDS="flex"
17 compile_rules() {
18 [ -s $TARBALL ] && tar xjf $TARBALL -C ..
20 make -j1 \
21 TOOLPREFIX="$TOOLPREFIX" \
22 DEFAULT_SERIAL_NAME='"/dev/ttyS0"' \
23 DEFAULT_USB_NAME='"/dev/usb/legousbtower0"' \
24 DEFAULT_PORT_NAME='"usb"' &&
25 make \
26 PREFIX=/usr \
27 MANDIR=/usr/share/man/man1 \
28 install
29 }
31 genpkg_rules() {
32 copy @std
33 DEPENDS="glibc-base gcc-lib-base"
34 TAGS="compiler language"
35 }