summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-tinyos/nesc/ChangeLog15
-rw-r--r--dev-tinyos/nesc/files/digest-nesc-1.2.4-r13
-rw-r--r--dev-tinyos/nesc/files/digest-nesc-1.2.5-r13
-rw-r--r--dev-tinyos/nesc/files/digest-nesc-1.2.6-r13
-rw-r--r--dev-tinyos/nesc/nesc-1.2.4-r1.ebuild60
-rw-r--r--dev-tinyos/nesc/nesc-1.2.5-r1.ebuild60
-rw-r--r--dev-tinyos/nesc/nesc-1.2.6-r1.ebuild60
7 files changed, 203 insertions, 1 deletions
diff --git a/dev-tinyos/nesc/ChangeLog b/dev-tinyos/nesc/ChangeLog
index abe88d6a6cff..9ce9b9dd64e8 100644
--- a/dev-tinyos/nesc/ChangeLog
+++ b/dev-tinyos/nesc/ChangeLog
@@ -1,6 +1,19 @@
# 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.7 2006/06/18 20:51:44 sanchan Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-tinyos/nesc/ChangeLog,v 1.8 2006/07/20 17:57:23 sanchan Exp $
+
+*nesc-1.2.6-r1 (20 Jul 2006)
+*nesc-1.2.5-r1 (20 Jul 2006)
+*nesc-1.2.4-r1 (20 Jul 2006)
+
+ 20 Jul 2006; Sandro Bonazzola <sanchan@gentoo.org> -nesc-1.2.1.ebuild,
+ -nesc-1.2.2.ebuild, -nesc-1.2.3.ebuild, -nesc-1.2.4.ebuild,
+ +nesc-1.2.4-r1.ebuild, -nesc-1.2.5.ebuild, +nesc-1.2.5-r1.ebuild,
+ -nesc-1.2.6.ebuild, +nesc-1.2.6-r1.ebuild:
+ Removing old ebuilds. Adding runtime dependency on dev-perl/XML-Simple,
+ fixing bug #141176. Thanks to Aurélien Francillon
+ <aurelien.francillon@inrialpes.fr> for reporting. Bumping ebuild revisions
+ due to runtime dependency changed.
*nesc-1.2.6 (18 Jun 2006)
*nesc-1.2.5 (18 Jun 2006)
diff --git a/dev-tinyos/nesc/files/digest-nesc-1.2.4-r1 b/dev-tinyos/nesc/files/digest-nesc-1.2.4-r1
new file mode 100644
index 000000000000..fadb6b42d101
--- /dev/null
+++ b/dev-tinyos/nesc/files/digest-nesc-1.2.4-r1
@@ -0,0 +1,3 @@
+MD5 16927bc7c22c05b9367c6aaa185b77a6 nesc-1.2.4.tar.gz 1082457
+RMD160 978f1b3eba9e14efd627a95c0eaeeb6aedd7a980 nesc-1.2.4.tar.gz 1082457
+SHA256 108ddabfb1739c55fe7099a4e6bf95742ef65cbe52a0dd0f2fd805158a767f57 nesc-1.2.4.tar.gz 1082457
diff --git a/dev-tinyos/nesc/files/digest-nesc-1.2.5-r1 b/dev-tinyos/nesc/files/digest-nesc-1.2.5-r1
new file mode 100644
index 000000000000..463a1bdc454d
--- /dev/null
+++ b/dev-tinyos/nesc/files/digest-nesc-1.2.5-r1
@@ -0,0 +1,3 @@
+MD5 b1987132ef090aa8a9a531dd93dbec99 nesc-1.2.5.tar.gz 1153568
+RMD160 0695e8a0e94fc2813252b6aca4723dcdc3f86d3b nesc-1.2.5.tar.gz 1153568
+SHA256 6a31899d692503242551deaee36f1ddfa5ec9d9c5261d3423270bf5fcea43e02 nesc-1.2.5.tar.gz 1153568
diff --git a/dev-tinyos/nesc/files/digest-nesc-1.2.6-r1 b/dev-tinyos/nesc/files/digest-nesc-1.2.6-r1
new file mode 100644
index 000000000000..5bbf53a6d22e
--- /dev/null
+++ b/dev-tinyos/nesc/files/digest-nesc-1.2.6-r1
@@ -0,0 +1,3 @@
+MD5 f93cc1c49fe653249fe033311446ab79 nesc-1.2.6.tar.gz 1158639
+RMD160 4f51922e3eb86f87ff8c540eac1dcabcb18efcc8 nesc-1.2.6.tar.gz 1158639
+SHA256 60915fb293dc1d0320d989b06127086eedaa0293e41ad82c07876d774eb04ab6 nesc-1.2.6.tar.gz 1158639
diff --git a/dev-tinyos/nesc/nesc-1.2.4-r1.ebuild b/dev-tinyos/nesc/nesc-1.2.4-r1.ebuild
new file mode 100644
index 000000000000..412d1714b037
--- /dev/null
+++ b/dev-tinyos/nesc/nesc-1.2.4-r1.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.4-r1.ebuild,v 1.1 2006/07/20 17:57:23 sanchan Exp $
+
+inherit eutils
+
+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
+ dev-perl/XML-Simple"
+
+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() {
+ 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
+}
diff --git a/dev-tinyos/nesc/nesc-1.2.5-r1.ebuild b/dev-tinyos/nesc/nesc-1.2.5-r1.ebuild
new file mode 100644
index 000000000000..de018ff4d942
--- /dev/null
+++ b/dev-tinyos/nesc/nesc-1.2.5-r1.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.5-r1.ebuild,v 1.1 2006/07/20 17:57:23 sanchan Exp $
+
+inherit eutils
+
+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
+ dev-perl/XML-Simple"
+
+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() {
+ 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
+}
diff --git a/dev-tinyos/nesc/nesc-1.2.6-r1.ebuild b/dev-tinyos/nesc/nesc-1.2.6-r1.ebuild
new file mode 100644
index 000000000000..214d0064ff59
--- /dev/null
+++ b/dev-tinyos/nesc/nesc-1.2.6-r1.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.6-r1.ebuild,v 1.1 2006/07/20 17:57:23 sanchan Exp $
+
+inherit eutils
+
+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
+ dev-perl/XML-Simple"
+
+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() {
+ 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
+}