wok view nqc/receipt @ rev 25793

reverted version 4.14.1 to 4.12.0 for xfconf packages
author Hans-G?nter Theisgen
date Wed Oct 23 15:16:12 2024 +0100 (4 weeks ago)
parents b0069c845544
children
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="https://bricxcc.sourceforge.net/nqc/"
12 #WGET_URL="http://bricxcc.sourceforge.net/nqc/release/$TARBALL"
13 #WGET_URL="http://users.zoominternet.net/~rcx/$TARBALL"
14 WGET_URL="https://download.tuxfamily.org/slitaz/sources/packages-cooking/${TARBALL:0:1}/$TARBALL"
15 TAGS="compiler language"
17 DEPENDS="glibc-base gcc-lib-base"
18 BUILD_DEPENDS="flex"
20 # What is the latest version available today?
21 current_version()
22 {
23 wget -O - http://bricxcc.sourceforge.net/nqc/release/index.html 2>/dev/null | \
24 sed '/tgz/!d;s|.*nqc-||;s|.tgz.*||;q'
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 ln -s $PACKAGE-$VERSION ../$PACKAGE-$VERSION-$PATCHLEVEL
31 [ -s $TARBALL ] && tar xjf $TARBALL -C ..
32 make -j1 TOOLPREFIX="$TOOLPREFIX" \
33 DEFAULT_SERIAL_NAME='"/dev/ttyS0"' \
34 DEFAULT_USB_NAME='"/dev/usb/legousbtower0"' \
35 DEFAULT_PORT_NAME='"usb"' &&
36 make PREFIX=/usr MANDIR=/usr/share/man/man1 install
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 mkdir -p $fs/usr
43 cp -a $install/usr/bin $fs/usr
44 }