wok-current view nqc/receipt @ rev 24053
Up slitaz-boot-script (471)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu May 27 13:42:59 2021 +0000 (2021-05-27) |
parents | 4b64f58fe9fa |
children | 370da83187ab |
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 # Rules to configure and make the package.
20 compile_rules()
21 {
22 ln -s $PACKAGE-$VERSION ../$PACKAGE-$VERSION-$PATCHLEVEL
23 [ -s $TARBALL ] && tar xjf $TARBALL -C ..
24 make -j1 TOOLPREFIX="$TOOLPREFIX" \
25 DEFAULT_SERIAL_NAME='"/dev/ttyS0"' \
26 DEFAULT_USB_NAME='"/dev/usb/legousbtower0"' \
27 DEFAULT_PORT_NAME='"usb"' &&
28 make PREFIX=/usr MANDIR=/usr/share/man/man1 install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr
35 cp -a $install/usr/bin $fs/usr
36 }