wok view nqc/receipt @ rev 5880

nss_ldap: fix compile_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jul 21 09:13:33 2010 +0200 (2010-07-21)
parents 7c7d61c79e14
children e12edf09e821
line source
1 # SliTaz package receipt.
3 PACKAGE="nqc"
4 VERSION="3.1.r6-4"
5 CATEGORY="development"
6 SHORT_DESC="Compiler for the Not Quite C programming language."
7 MAINTAINER="rcx@zoominternet.net"
8 DEPENDS="glibc-base gcc-lib-base"
9 BUILD_DEPENDS="slitaz-toolchain bison flex m4"
10 TARBALL="$PACKAGE-$VERSION.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 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 make TOOLPREFIX="$(TOOLPREFIX)" \
21 DEFAULT_SERIAL_NAME='"/dev/ttyS0"' \
22 DEFAULT_USB_NAME='"/dev/usb/legousbtower0"' \
23 DEFAULT_PORT_NAME='"usb"' &&
24 make DESTDIR=$src/_pkg PREFIX=/usr install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr
31 cp -a $_pkg/usr/bin $fs/usr
32 }