summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSandro Bonazzola <sanchan@gentoo.org>2006-01-22 09:30:30 +0000
committerSandro Bonazzola <sanchan@gentoo.org>2006-01-22 09:30:30 +0000
commit9ea2aeebbca031ec3c6359395354fbf3cf89797b (patch)
tree25a6f35f6411845d6487420befb0907393acfd8a /dev-tinyos
parentStable on ppc64 (diff)
downloadgentoo-2-9ea2aeebbca031ec3c6359395354fbf3cf89797b.tar.gz
gentoo-2-9ea2aeebbca031ec3c6359395354fbf3cf89797b.tar.bz2
gentoo-2-9ea2aeebbca031ec3c6359395354fbf3cf89797b.zip
Initial import of ncc for TinyOS.
(Portage version: 2.1_pre3-r1)
Diffstat (limited to 'dev-tinyos')
-rw-r--r--dev-tinyos/ncc/ChangeLog11
-rw-r--r--dev-tinyos/ncc/Manifest4
-rw-r--r--dev-tinyos/ncc/files/digest-ncc-1.1.151
-rw-r--r--dev-tinyos/ncc/metadata.xml12
-rw-r--r--dev-tinyos/ncc/ncc-1.1.15.ebuild36
5 files changed, 64 insertions, 0 deletions
diff --git a/dev-tinyos/ncc/ChangeLog b/dev-tinyos/ncc/ChangeLog
new file mode 100644
index 000000000000..74493bcd3612
--- /dev/null
+++ b/dev-tinyos/ncc/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for dev-tinyos/ncc
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-tinyos/ncc/ChangeLog,v 1.1 2006/01/22 09:30:30 sanchan Exp $
+
+*ncc-1.1.15 (22 Jan 2006)
+
+ 22 Jan 2006; Sandro Bonazzola <sanchan@gentoo.org> +metadata.xml,
+ +ncc-1.1.15.ebuild:
+ New ebuild, thanks to Aurélien Francillon and Daniel Black.
+ Close bug #98400.
+
diff --git a/dev-tinyos/ncc/Manifest b/dev-tinyos/ncc/Manifest
new file mode 100644
index 000000000000..59c7841800cf
--- /dev/null
+++ b/dev-tinyos/ncc/Manifest
@@ -0,0 +1,4 @@
+MD5 bb93966614a66467d0f975f43df02404 ChangeLog 316
+MD5 4dc70773e9fed2b077c03fbbfbfab313 files/digest-ncc-1.1.15 77
+MD5 0279cb480c4928f0a488336c8646ff21 metadata.xml 366
+MD5 0e855964802d5eab14565cf944da3050 ncc-1.1.15.ebuild 859
diff --git a/dev-tinyos/ncc/files/digest-ncc-1.1.15 b/dev-tinyos/ncc/files/digest-ncc-1.1.15
new file mode 100644
index 000000000000..050688065436
--- /dev/null
+++ b/dev-tinyos/ncc/files/digest-ncc-1.1.15
@@ -0,0 +1 @@
+MD5 4e9535229eab02ee1f198b244c04bcd6 tinyos-1.1.15Dec2005cvs.tar.gz 10273122
diff --git a/dev-tinyos/ncc/metadata.xml b/dev-tinyos/ncc/metadata.xml
new file mode 100644
index 000000000000..1b6f7435d0be
--- /dev/null
+++ b/dev-tinyos/ncc/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>dev-embedded</herd>
+<maintainer>
+ <email>sanchan@gentoo.org</email>
+</maintainer>
+ <longdescription>
+ncc is an extension to gcc that knows how to compile nesC applications
+in the TinyOS environment.
+ </longdescription>
+</pkgmetadata>
diff --git a/dev-tinyos/ncc/ncc-1.1.15.ebuild b/dev-tinyos/ncc/ncc-1.1.15.ebuild
new file mode 100644
index 000000000000..3d1e30fbdd08
--- /dev/null
+++ b/dev-tinyos/ncc/ncc-1.1.15.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-tinyos/ncc/ncc-1.1.15.ebuild,v 1.1 2006/01/22 09:30:30 sanchan Exp $
+
+CVS_MONTH="Dec"
+CVS_YEAR="2005"
+MY_P="tinyos"
+
+DESCRIPTION="A TinyOS frontend for nesC compiler"
+HOMEPAGE="http://www.tinyos.net/"
+SRC_URI="http://www.tinyos.net/dist-1.1.0/tinyos/source/${MY_P}-${PV}${CVS_MONTH}${CVS_YEAR}cvs.tar.gz"
+LICENSE="Intel"
+SLOT="0"
+KEYWORDS="~x86"
+DEPEND=">=dev-lang/perl-5.8.5-r2
+ >=sys-devel/autoconf-2.53
+ >=sys-devel/automake-1.5
+ >=dev-tinyos/nesc-1.2.1
+ >=dev-tinyos/tos-1.1.15"
+
+RDEPEND=">=dev-tinyos/nesc-1.2.1
+ >=dev-tinyos/tos-1.1.15
+ >=dev-lang/perl-5.8.5-r2"
+
+
+S=${WORKDIR}/${MY_P}-${PV}${CVS_MONTH}${CVS_YEAR}cvs/tools/src/ncc
+
+src_compile() {
+ ./Bootstrap || die "Bootstrap failed"
+ econf || die "econf failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ einstall || die "einstall failed"
+}