wok-current view nqc/receipt @ rev 25425

updated xa (2.3.10 -> 2.3.13)
author Hans-G?nter Theisgen
date Thu Aug 18 16:31:57 2022 +0100 (2022-08-18)
parents 29af9ccd87db
children b0069c845544
line source
1 # SliTaz package receipt.
3 PACKAGE="nqc"
4 VERSION="3.1.r6"
5 PATCHLEVEL="4"
6 CATEGORY="development"
7 SHORT_DESC="Compiler for the Not Quite C programming language."
8 MAINTAINER="rcx@zoominternet.net"
9 LICENSE="MPL"
10 TARBALL="$PACKAGE-$VERSION-$PATCHLEVEL.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 DEPENDS="glibc-base gcc-lib-base"
17 BUILD_DEPENDS="flex"
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - http://bricxcc.sourceforge.net/nqc/release/index.html 2>/dev/null | \
23 sed '/tgz/!d;s|.*nqc-||;s|.tgz.*||;q'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 ln -s $PACKAGE-$VERSION ../$PACKAGE-$VERSION-$PATCHLEVEL
30 [ -s $TARBALL ] && tar xjf $TARBALL -C ..
31 make -j1 TOOLPREFIX="$TOOLPREFIX" \
32 DEFAULT_SERIAL_NAME='"/dev/ttyS0"' \
33 DEFAULT_USB_NAME='"/dev/usb/legousbtower0"' \
34 DEFAULT_PORT_NAME='"usb"' &&
35 make PREFIX=/usr MANDIR=/usr/share/man/man1 install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr
42 cp -a $install/usr/bin $fs/usr
43 }