wok-6.x annotate nqc/receipt @ rev 22953
updated inxi (3.0.32.1 -> 3.0.37)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Feb 28 14:51:15 2020 +0100 (2020-02-28) |
parents | 261355c410d6 |
children | 29af9ccd87db |
rev | line source |
---|---|
rcx@3924 | 1 # SliTaz package receipt. |
rcx@3924 | 2 |
rcx@3924 | 3 PACKAGE="nqc" |
pascal@22829 | 4 VERSION="3.1.r6_4" |
rcx@3924 | 5 CATEGORY="development" |
rcx@3991 | 6 SHORT_DESC="Compiler for the Not Quite C programming language." |
rcx@3924 | 7 MAINTAINER="rcx@zoominternet.net" |
pascal@15584 | 8 LICENSE="MPL" |
pascal@22829 | 9 TARBALL="$PACKAGE-${VERSION/_/-}.bz2" |
rcx@3924 | 10 WEB_SITE="http://bricxcc.sourceforge.net/nqc/" |
rcx@3924 | 11 #WGET_URL="http://bricxcc.sourceforge.net/nqc/release/$TARBALL" |
rcx@3924 | 12 WGET_URL="http://users.zoominternet.net/~rcx/$TARBALL" |
jozee@4969 | 13 TAGS="compiler language" |
rcx@3924 | 14 |
pascal@15584 | 15 DEPENDS="glibc-base gcc-lib-base" |
pascal@15584 | 16 BUILD_DEPENDS="flex" |
pascal@15584 | 17 |
rcx@3924 | 18 # Rules to configure and make the package. |
rcx@3924 | 19 compile_rules() |
rcx@3924 | 20 { |
pascal@22830 | 21 ln -s $PACKAGE-$VERSION ../$PACKAGE-${VERSION/_/-} |
pascal@12796 | 22 [ -s $TARBALL ] && tar xjf $TARBALL -C .. |
gokhlayeh@8863 | 23 make -j1 TOOLPREFIX="$TOOLPREFIX" \ |
rcx@3924 | 24 DEFAULT_SERIAL_NAME='"/dev/ttyS0"' \ |
rcx@3924 | 25 DEFAULT_USB_NAME='"/dev/usb/legousbtower0"' \ |
rcx@3924 | 26 DEFAULT_PORT_NAME='"usb"' && |
pascal@19292 | 27 make PREFIX=/usr MANDIR=/usr/share/man/man1 install |
rcx@3924 | 28 } |
rcx@3924 | 29 |
rcx@3924 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
rcx@3924 | 31 genpkg_rules() |
rcx@3924 | 32 { |
rcx@3924 | 33 mkdir -p $fs/usr |
pascal@15584 | 34 cp -a $install/usr/bin $fs/usr |
rcx@3924 | 35 } |