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
commit8b9882201dcdb26a6504afd49936217981813529 (patch)
tree4c446e5452dee466327fdc5448286338f798e576 /dev-lang
parentnew package - c-like compiler for Lego (diff)
downloadhistorical-8b9882201dcdb26a6504afd49936217981813529.tar.gz
historical-8b9882201dcdb26a6504afd49936217981813529.tar.bz2
historical-8b9882201dcdb26a6504afd49936217981813529.zip
new package - c-like compiler for Lego
Diffstat (limited to 'dev-lang')
-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
3 files changed, 40 insertions, 1 deletions
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 "***************************************************************"
+}