summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Shapovalov <george@gentoo.org>2003-06-21 07:03:18 +0000
committerGeorge Shapovalov <george@gentoo.org>2003-06-21 07:03:18 +0000
commit41cbeebc1248d374e90d2f95fc0c9dbcfc269e94 (patch)
tree2e2322fc9ab78599fc247de931f8f915e243e6c2 /dev-lang/nqc
parentnew package - c-like compiler for Lego (diff)
downloadgentoo-2-41cbeebc1248d374e90d2f95fc0c9dbcfc269e94.tar.gz
gentoo-2-41cbeebc1248d374e90d2f95fc0c9dbcfc269e94.tar.bz2
gentoo-2-41cbeebc1248d374e90d2f95fc0c9dbcfc269e94.zip
new package - c-like compiler for Lego
Diffstat (limited to 'dev-lang/nqc')
-rw-r--r--dev-lang/nqc/ChangeLog10
-rw-r--r--dev-lang/nqc/Manifest3
-rw-r--r--dev-lang/nqc/files/digest-nqc-2.5.11
-rw-r--r--dev-lang/nqc/nqc-2.5.1.ebuild37
4 files changed, 50 insertions, 1 deletions
diff --git a/dev-lang/nqc/ChangeLog b/dev-lang/nqc/ChangeLog
new file mode 100644
index 000000000000..1bc39608fa8e
--- /dev/null
+++ b/dev-lang/nqc/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-lang/nqc
+# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/nqc/ChangeLog,v 1.1 2003/06/21 07:03:06 george Exp $
+
+*nqc-2.5.1.ebuild (20 Jun 2003)
+
+ 20 Jun 2003; George Shapovalov <george@gentoo.org> Manifest, nqc-2.5.1.ebuild, files/{digest-nqc-2.5.1} :
+ initial release (#12343)
+ Not Quite C - C-like compiler for Lego Mindstorms
+ ebuild submitted by Alexander Holler <aholler@gentoo.de>
diff --git a/dev-lang/nqc/Manifest b/dev-lang/nqc/Manifest
index a12719aca7a8..76a395f6158c 100644
--- a/dev-lang/nqc/Manifest
+++ b/dev-lang/nqc/Manifest
@@ -1,2 +1,3 @@
-MD5 4d7ad84ce4640b639be6f17570cebaeb nqc-2.5.1.ebuild 1198
+MD5 a21174cde2aa8d82aa9b6759959cbd2e ChangeLog 477
+MD5 1eab8f55e9ca133870cc9586befbed7b nqc-2.5.1.ebuild 1290
MD5 ec2eb2fa60d922ccddc0e768135303c4 files/digest-nqc-2.5.1 59
diff --git a/dev-lang/nqc/files/digest-nqc-2.5.1 b/dev-lang/nqc/files/digest-nqc-2.5.1
new file mode 100644
index 000000000000..6eb339324b7f
--- /dev/null
+++ b/dev-lang/nqc/files/digest-nqc-2.5.1
@@ -0,0 +1 @@
+MD5 b765ac5077aba731861157c265748075 nqc-2.5.r1.tgz 215808
diff --git a/dev-lang/nqc/nqc-2.5.1.ebuild b/dev-lang/nqc/nqc-2.5.1.ebuild
new file mode 100644
index 000000000000..1aee418faa76
--- /dev/null
+++ b/dev-lang/nqc/nqc-2.5.1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 2002 Alexander Holler
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/nqc/nqc-2.5.1.ebuild,v 1.1 2003/06/21 07:03:06 george Exp $
+
+My_PV="`echo $PV|cut -d. -f1,2`.r`echo $PV|cut -d. -f3`"
+My_P="${PN}-${My_PV}"
+S=${WORKDIR}/${My_P}
+DESCRIPTION="Not Quite C - C-like compiler for Lego Mindstorms"
+SRC_URI="http://www.baumfamily.org/nqc/release/${My_P}.tgz"
+HOMEPAGE="http://www.baumfamily.org/nqc/"
+
+SLOT="0"
+LICENSE="MPL-1.0"
+KEYWORDS="~x86"
+IUSE=""
+
+DEPEND="virtual/glibc"
+
+src_compile() {
+ ${#NQC_SERIAL} && NQC_SERIAL="/dev/ttyS0"
+ sed -e "s:/usr/local/bin:${D}/usr/bin:" -e "s:/usr/local/man:${D}/usr/share/man:" -e "s:-O6:${CFLAGS}:" < Makefile >makefile
+ # emake doesn't work
+ DEFAULT_SERIAL_NAME=\"${NQC_SERIAL}\" make || die
+}
+
+src_install() {
+ make DESTDIR=${D} install
+ dodoc history.txt readme.txt scout.txt test.nqc
+}
+
+pkg_postinst() {
+ einfo "***************************************************************"
+ einfo "* To change the default serial name for nqc (/dev/ttyS0)set *"
+ einfo "* the environment variable NQC_SERIAL and reemerge nqc, e.g.: *"
+ einfo "* NQC_SERIAL='/dev/ttyS1' emerge nqc *"
+ einfo "***************************************************************"
+}