wok-6.x annotate nqc/receipt @ rev 14298
Up: edje (1.7.5)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Sun Apr 07 10:10:51 2013 +0200 (2013-04-07) |
parents | e12edf09e821 |
children | 3765f181a6d5 |
rev | line source |
---|---|
rcx@3924 | 1 # SliTaz package receipt. |
rcx@3924 | 2 |
rcx@3924 | 3 PACKAGE="nqc" |
rcx@3924 | 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" |
rcx@3924 | 8 DEPENDS="glibc-base gcc-lib-base" |
gokhlayeh@8863 | 9 BUILD_DEPENDS="flex" |
rcx@3924 | 10 TARBALL="$PACKAGE-$VERSION.bz2" |
rcx@3924 | 11 WEB_SITE="http://bricxcc.sourceforge.net/nqc/" |
rcx@3924 | 12 #WGET_URL="http://bricxcc.sourceforge.net/nqc/release/$TARBALL" |
rcx@3924 | 13 WGET_URL="http://users.zoominternet.net/~rcx/$TARBALL" |
jozee@4969 | 14 TAGS="compiler language" |
rcx@3924 | 15 |
rcx@3924 | 16 # Rules to configure and make the package. |
rcx@3924 | 17 compile_rules() |
rcx@3924 | 18 { |
rcx@3924 | 19 cd $src |
pascal@12796 | 20 [ -s $TARBALL ] && tar xjf $TARBALL -C .. |
gokhlayeh@8863 | 21 make -j1 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"' && |
gokhlayeh@8863 | 25 make PREFIX=/usr install |
rcx@3924 | 26 } |
rcx@3924 | 27 |
rcx@3924 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
rcx@3924 | 29 genpkg_rules() |
rcx@3924 | 30 { |
rcx@3924 | 31 mkdir -p $fs/usr |
rcx@3924 | 32 cp -a $_pkg/usr/bin $fs/usr |
rcx@3924 | 33 } |