summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSandro Bonazzola <sanchan@gentoo.org>2006-01-29 12:01:07 +0000
committerSandro Bonazzola <sanchan@gentoo.org>2006-01-29 12:01:07 +0000
commit6620c673960a31f229de4a077acb9aea6231173a (patch)
treeb58490006d15473f9e2cc76c5105749bae3a9005 /dev-tinyos/nesc
parentVersion bump, bug #112104. Changed desktop file and removed old version. (diff)
downloadgentoo-2-6620c673960a31f229de4a077acb9aea6231173a.tar.gz
gentoo-2-6620c673960a31f229de4a077acb9aea6231173a.tar.bz2
gentoo-2-6620c673960a31f229de4a077acb9aea6231173a.zip
Version bump. Adding virtual/jdk to DEPEND, virtual/jre to RDEPEND, fix lazy bindings.
(Portage version: 2.1_pre4)
Diffstat (limited to 'dev-tinyos/nesc')
-rw-r--r--dev-tinyos/nesc/ChangeLog8
-rw-r--r--dev-tinyos/nesc/Manifest14
-rw-r--r--dev-tinyos/nesc/files/digest-nesc-1.2.23
-rw-r--r--dev-tinyos/nesc/nesc-1.2.2.ebuild60
4 files changed, 84 insertions, 1 deletions
diff --git a/dev-tinyos/nesc/ChangeLog b/dev-tinyos/nesc/ChangeLog
index 3f995f9aba58..ad0098f887f4 100644
--- a/dev-tinyos/nesc/ChangeLog
+++ b/dev-tinyos/nesc/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-tinyos/nesc
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-tinyos/nesc/ChangeLog,v 1.2 2006/01/22 18:01:17 sanchan Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-tinyos/nesc/ChangeLog,v 1.3 2006/01/29 12:01:07 sanchan Exp $
+
+*nesc-1.2.2 (29 Jan 2006)
+
+ 29 Jan 2006; Sandro Bonazzola <sanchan@gentoo.org> +nesc-1.2.2.ebuild:
+ Version bump. Adding virtual/jdk to DEPEND and virtual/jre to RDEPEND as
+ required.
22 Jan 2006; Sandro Bonazzola <sanchan@gentoo.org> nesc-1.2.1.ebuild:
Fix category error in eerror message during setup phase.
diff --git a/dev-tinyos/nesc/Manifest b/dev-tinyos/nesc/Manifest
index 915aba1441ee..79abf005e8fb 100644
--- a/dev-tinyos/nesc/Manifest
+++ b/dev-tinyos/nesc/Manifest
@@ -1,4 +1,18 @@
MD5 b4ad65be0565def27b9f7f4a7821b65a ChangeLog 554
+RMD160 c7b8332d1c59515accef0cb8ed6fb3d8c3bff8fa ChangeLog 554
+SHA256 9320385f0448d03827c143016ec9a910e54944845416b7cae6e5188469774a68 ChangeLog 554
MD5 78f3d0c976b53eed528a108fc7b9fd6a files/digest-nesc-1.2.1 63
+RMD160 3f1625cb44aa8c8212fbf0212a6d49f7ed754d5d files/digest-nesc-1.2.1 63
+SHA256 94d11d3fa8043926ab2e41d60aef91bff99b060fe37aa637647a3f2db2046d72 files/digest-nesc-1.2.1 63
+MD5 d1eb55661fd5626be16eedb4d687e536 files/digest-nesc-1.2.2 235
+RMD160 99d379a92fcce275e22d7273234926f505ce8ae4 files/digest-nesc-1.2.2 235
+SHA256 38879ace3a6d9209f3dde7829bc6aa0376c1672e0b9339e0a17985d87ec9d3fd files/digest-nesc-1.2.2 235
MD5 632afbbaf09dda242cbd6cd6869b58c4 metadata.xml 507
+RMD160 680f7c1d3465939e281b3f7c049431e0228541e5 metadata.xml 507
+SHA256 6e3362a53d81df720f990b7c1e91fbc6a306c26c313559de56185724e68847b3 metadata.xml 507
MD5 b48b4e170f0117c5b23e04efe74624e9 nesc-1.2.1.ebuild 1362
+RMD160 f560e1173a92625986221ae956cdda00245c9098 nesc-1.2.1.ebuild 1362
+SHA256 fb411e0aad4aa82a0eb27b08053ba6c273a5036d1776b64d6c8d7d0ad1f45c97 nesc-1.2.1.ebuild 1362
+MD5 ed95b6598bd8f592d2ce328b8fac9f0c nesc-1.2.2.ebuild 1539
+RMD160 da457df655144cf54aaa6a0848b46c270d3e3ce0 nesc-1.2.2.ebuild 1539
+SHA256 c2b6654fce1e400a9abc30ea9f2a6d11681b9bf4c7f9210aaf57dd1f32af534a nesc-1.2.2.ebuild 1539
diff --git a/dev-tinyos/nesc/files/digest-nesc-1.2.2 b/dev-tinyos/nesc/files/digest-nesc-1.2.2
new file mode 100644
index 000000000000..e8176e2a7fa3
--- /dev/null
+++ b/dev-tinyos/nesc/files/digest-nesc-1.2.2
@@ -0,0 +1,3 @@
+MD5 c65d41ea94b60a5eebe654fd05f03937 nesc-1.2.2.tar.gz 1081608
+RMD160 c012b005da4fd93cf0d4609e7ef8f9b7d4b74bed nesc-1.2.2.tar.gz 1081608
+SHA256 6cbec4590ce158fec18acc0a94062305805e16bb17b51a35e2970b2f4cdaa702 nesc-1.2.2.tar.gz 1081608
diff --git a/dev-tinyos/nesc/nesc-1.2.2.ebuild b/dev-tinyos/nesc/nesc-1.2.2.ebuild
new file mode 100644
index 000000000000..15aba64cada5
--- /dev/null
+++ b/dev-tinyos/nesc/nesc-1.2.2.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-tinyos/nesc/nesc-1.2.2.ebuild,v 1.1 2006/01/29 12:01:07 sanchan Exp $
+
+inherit eutils flag-o-matic
+
+DESCRIPTION="An extension to gcc that knows how to compile nesC applications"
+HOMEPAGE="http://nescc.sourceforge.net/"
+SRC_URI="mirror://sourceforge/nescc/${P}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="doc"
+DEPEND=">=dev-lang/perl-5.8.5-r2
+ >=dev-tinyos/tos-1.1.0
+ >=virtual/jdk-1.4.2"
+
+RDEPEND=">=dev-lang/perl-5.8.5-r2
+ >=dev-tinyos/tos-1.1.0
+ >=virtual/jre-1.4.2"
+
+pkg_setup() {
+ if [ -z "${TOSDIR}" ]
+ then
+ # best to make an assumption
+ export TOSDIR=/usr/src/tinyos-1.x/tos
+ fi
+
+ if [ ! -d "${TOSDIR}" ]
+ then
+ eerror "In order to compile nesc you have to set the"
+ eerror "\$TOSDIR environment properly."
+ eerror ""
+ eerror "You can achieve this by emerging >=dev-tinyos/tos-1.1.15"
+ eerror "or by exporting TOSDIR=\"path to your tinyos dir\""
+ die "Couldn't find a valid TinyOS home"
+ else
+ einfo "Building nesC for ${TOSDIR}"
+ fi
+}
+
+src_compile() {
+ append-ldflags $(bindnow-flags)
+ econf --disable-dependency-tracking || die "econf failed"
+ # language setting needed, otherwise gcc version
+ # will sometimes not be detected right
+ LANGUAGE=C emake || die "emake failed"
+}
+
+src_install() {
+ LANGUAGE=C einstall || die "einstall failed"
+ if use doc
+ then
+ dohtml -r -a html,jpg,pdf,txt doc/*
+ fi
+ newdoc README NEWS
+ dodoc doc/README
+ newdoc tools/java/net/tinyos/nesc/dump/README README.dump
+ newdoc tools/java/net/tinyos/nesc/wiring/README README.wiring
+}