wok-next annotate nqc/receipt @ rev 21727

created recipe for vbindiff
author Hans-G?nter Theisgen
date Sat Nov 21 14:32:44 2020 +0100 (2020-11-21)
parents d43bf7aae921
children
rev   line source
al@20513 1 # SliTaz package receipt v2.
rcx@3924 2
rcx@3924 3 PACKAGE="nqc"
rcx@3924 4 VERSION="3.1.r6-4"
rcx@3924 5 CATEGORY="development"
al@20513 6 SHORT_DESC="Compiler for the Not Quite C programming language"
al@21020 7 MAINTAINER="devel@slitaz.org"
pascal@15584 8 LICENSE="MPL"
al@20513 9 WEB_SITE="http://bricxcc.sourceforge.net/nqc/"
al@20513 10
rcx@3924 11 TARBALL="$PACKAGE-$VERSION.bz2"
rcx@3924 12 #WGET_URL="http://bricxcc.sourceforge.net/nqc/release/$TARBALL"
rcx@3924 13 WGET_URL="http://users.zoominternet.net/~rcx/$TARBALL"
rcx@3924 14
pascal@15584 15 BUILD_DEPENDS="flex"
pascal@15584 16
al@20513 17 compile_rules() {
pascal@12796 18 [ -s $TARBALL ] && tar xjf $TARBALL -C ..
al@20513 19
al@20513 20 make -j1 \
al@20513 21 TOOLPREFIX="$TOOLPREFIX" \
rcx@3924 22 DEFAULT_SERIAL_NAME='"/dev/ttyS0"' \
rcx@3924 23 DEFAULT_USB_NAME='"/dev/usb/legousbtower0"' \
rcx@3924 24 DEFAULT_PORT_NAME='"usb"' &&
al@20513 25 make \
al@20513 26 PREFIX=/usr \
al@20513 27 MANDIR=/usr/share/man/man1 \
al@20513 28 install
rcx@3924 29 }
rcx@3924 30
al@20513 31 genpkg_rules() {
al@20513 32 copy @std
al@20513 33 DEPENDS="glibc-base gcc-lib-base"
al@20513 34 TAGS="compiler language"
rcx@3924 35 }