diff options
author | Sandro Bonazzola <sanchan@gentoo.org> | 2006-06-18 20:51:44 +0000 |
---|---|---|
committer | Sandro Bonazzola <sanchan@gentoo.org> | 2006-06-18 20:51:44 +0000 |
commit | 991bb648633e08183b7625766560137baaf2eee6 (patch) | |
tree | 62ab3203f7d41f4a5a81af1df446dbef248d582f /dev-tinyos | |
parent | Stable on ia64. (diff) | |
download | gentoo-2-991bb648633e08183b7625766560137baaf2eee6.tar.gz gentoo-2-991bb648633e08183b7625766560137baaf2eee6.tar.bz2 gentoo-2-991bb648633e08183b7625766560137baaf2eee6.zip |
Versions bump.
(Portage version: 2.1.1_pre1-r1)
Diffstat (limited to 'dev-tinyos')
-rw-r--r-- | dev-tinyos/nesc/ChangeLog | 9 | ||||
-rw-r--r-- | dev-tinyos/nesc/files/digest-nesc-1.2.1 | 2 | ||||
-rw-r--r-- | dev-tinyos/nesc/files/digest-nesc-1.2.5 | 3 | ||||
-rw-r--r-- | dev-tinyos/nesc/files/digest-nesc-1.2.6 | 3 | ||||
-rw-r--r-- | dev-tinyos/nesc/nesc-1.2.5.ebuild | 59 | ||||
-rw-r--r-- | dev-tinyos/nesc/nesc-1.2.6.ebuild | 59 |
6 files changed, 134 insertions, 1 deletions
diff --git a/dev-tinyos/nesc/ChangeLog b/dev-tinyos/nesc/ChangeLog index 0497ff405fcf..abe88d6a6cff 100644 --- a/dev-tinyos/nesc/ChangeLog +++ b/dev-tinyos/nesc/ChangeLog @@ -1,6 +1,13 @@ # 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.6 2006/03/13 18:51:16 sanchan Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-tinyos/nesc/ChangeLog,v 1.7 2006/06/18 20:51:44 sanchan Exp $ + +*nesc-1.2.6 (18 Jun 2006) +*nesc-1.2.5 (18 Jun 2006) + + 18 Jun 2006; Sandro Bonazzola <sanchan@gentoo.org> +nesc-1.2.5.ebuild, + +nesc-1.2.6.ebuild: + Versions bump. 13 Mar 2006; Sandro Bonazzola <sanchan@gentoo.org> metadata.xml, nesc-1.2.1.ebuild: diff --git a/dev-tinyos/nesc/files/digest-nesc-1.2.1 b/dev-tinyos/nesc/files/digest-nesc-1.2.1 index da898bee8994..ade309f48a8c 100644 --- a/dev-tinyos/nesc/files/digest-nesc-1.2.1 +++ b/dev-tinyos/nesc/files/digest-nesc-1.2.1 @@ -1 +1,3 @@ MD5 1a6e7feb8ae4d092d4f6ae4b8d063891 nesc-1.2.1.tar.gz 1068542 +RMD160 d96f7d890b153940803194ff2fb013aa1e9ac9e4 nesc-1.2.1.tar.gz 1068542 +SHA256 2e7f9d50a0010c4e6d0b275df5e79778dff168405b8c9d953554df08cba5a898 nesc-1.2.1.tar.gz 1068542 diff --git a/dev-tinyos/nesc/files/digest-nesc-1.2.5 b/dev-tinyos/nesc/files/digest-nesc-1.2.5 new file mode 100644 index 000000000000..463a1bdc454d --- /dev/null +++ b/dev-tinyos/nesc/files/digest-nesc-1.2.5 @@ -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 b/dev-tinyos/nesc/files/digest-nesc-1.2.6 new file mode 100644 index 000000000000..5bbf53a6d22e --- /dev/null +++ b/dev-tinyos/nesc/files/digest-nesc-1.2.6 @@ -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.5.ebuild b/dev-tinyos/nesc/nesc-1.2.5.ebuild new file mode 100644 index 000000000000..df6ee6a615e6 --- /dev/null +++ b/dev-tinyos/nesc/nesc-1.2.5.ebuild @@ -0,0 +1,59 @@ +# 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.ebuild,v 1.1 2006/06/18 20:51:44 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" + +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.ebuild b/dev-tinyos/nesc/nesc-1.2.6.ebuild new file mode 100644 index 000000000000..a99b51a7ef03 --- /dev/null +++ b/dev-tinyos/nesc/nesc-1.2.6.ebuild @@ -0,0 +1,59 @@ +# 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.ebuild,v 1.1 2006/06/18 20:51:44 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" + +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 +} |