summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-tinyos/tos-make/ChangeLog10
-rw-r--r--dev-tinyos/tos-make/Manifest22
-rw-r--r--dev-tinyos/tos-make/files/digest-tos-make-1.1.153
-rw-r--r--dev-tinyos/tos-make/metadata.xml16
-rw-r--r--dev-tinyos/tos-make/tos-make-1.1.15.ebuild72
5 files changed, 123 insertions, 0 deletions
diff --git a/dev-tinyos/tos-make/ChangeLog b/dev-tinyos/tos-make/ChangeLog
new file mode 100644
index 000000000000..8d70e79b51cd
--- /dev/null
+++ b/dev-tinyos/tos-make/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-tinyos/tos-make
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-tinyos/tos-make/ChangeLog,v 1.1 2006/02/12 17:58:50 sanchan Exp $
+
+*tos-make-1.1.15 (12 Feb 2006)
+
+ 12 Feb 2006; Sandro Bonazzola <sanchan@gentoo.org> +metadata.xml,
+ +tos-make-1.1.15.ebuild:
+ New ebuild, close bug #98662. Thanks to Aurélien Francillon.
+
diff --git a/dev-tinyos/tos-make/Manifest b/dev-tinyos/tos-make/Manifest
new file mode 100644
index 000000000000..1ce3482bbef8
--- /dev/null
+++ b/dev-tinyos/tos-make/Manifest
@@ -0,0 +1,22 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+MD5 50497a7f17904ba40c81f9e76d0e3300 ChangeLog 404
+RMD160 083acfa2a7a889df367534cc391a8c96f5237f54 ChangeLog 404
+SHA256 235a032822e61e8c18e8a67a2684ce4113cace6c4ea4d157196925f3f6416543 ChangeLog 404
+MD5 ee3e227f1140637c0a2902237487307a files/digest-tos-make-1.1.15 277
+RMD160 a1216e8d4d893cb0269dc46144906b0fcfd86148 files/digest-tos-make-1.1.15 277
+SHA256 283d09d9ff408b822f0e756457cbfe2c9c9bfaf6456e0c912375245ef978ac5b files/digest-tos-make-1.1.15 277
+MD5 fb452273ce27f4f363c9935c3bdb5cf6 metadata.xml 521
+RMD160 0b73ed4b81acf9157e426f8ce6bd63014b2fc5f6 metadata.xml 521
+SHA256 27684546a4ffb14aa64089e2f23fd7f2d53efbcd687024038c84e222ed2d7e79 metadata.xml 521
+MD5 92787713d10910cdea5c2ee8359df314 tos-make-1.1.15.ebuild 2124
+RMD160 8d4c2ddf85be4c12ce179ea684936c040c67904b tos-make-1.1.15.ebuild 2124
+SHA256 88bf40f2fd16631015f6292f95a481b81dcce543329452208d3fb5a8bd8353c1 tos-make-1.1.15.ebuild 2124
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.2 (GNU/Linux)
+
+iD8DBQFD73bl1c24p4LpXH8RAs9TAJkBadNl5lbsbZHSaAmJalB4gGUhewCfevM4
+lCvd908z/53wEouJpqNhHBk=
+=zwFk
+-----END PGP SIGNATURE-----
diff --git a/dev-tinyos/tos-make/files/digest-tos-make-1.1.15 b/dev-tinyos/tos-make/files/digest-tos-make-1.1.15
new file mode 100644
index 000000000000..a4d5cf882379
--- /dev/null
+++ b/dev-tinyos/tos-make/files/digest-tos-make-1.1.15
@@ -0,0 +1,3 @@
+MD5 4e9535229eab02ee1f198b244c04bcd6 tinyos-1.1.15Dec2005cvs.tar.gz 10273122
+RMD160 cddbcf32e53352d04be2eda49852540650e73088 tinyos-1.1.15Dec2005cvs.tar.gz 10273122
+SHA256 78f985eb83293cf10f23013f771c7f5d130f9a240a4dcda02321e10c3b5a341f tinyos-1.1.15Dec2005cvs.tar.gz 10273122
diff --git a/dev-tinyos/tos-make/metadata.xml b/dev-tinyos/tos-make/metadata.xml
new file mode 100644
index 000000000000..98377a0c1548
--- /dev/null
+++ b/dev-tinyos/tos-make/metadata.xml
@@ -0,0 +1,16 @@
+<?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>
+ TinyOS Make System
+ created on 7 Jan 2004
+ written by Cory Sharp cssharp@eecs.berkeley.edu
+ In order to use this, just add in your Makefile something like:
+ TOSMAKE_PATH += ${YOUR_ADDITIONAL_RULES_DIRECTORY}
+ MAKERULES = ${TOSROOT}/tools/make/Makerules
+ </longdescription>
+</pkgmetadata>
diff --git a/dev-tinyos/tos-make/tos-make-1.1.15.ebuild b/dev-tinyos/tos-make/tos-make-1.1.15.ebuild
new file mode 100644
index 000000000000..0b79160d8f19
--- /dev/null
+++ b/dev-tinyos/tos-make/tos-make-1.1.15.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-tinyos/tos-make/tos-make-1.1.15.ebuild,v 1.1 2006/02/12 17:58:50 sanchan Exp $
+
+inherit eutils
+
+CVS_MONTH="Dec"
+CVS_YEAR="2005"
+MY_P="tinyos"
+
+DESCRIPTION="The TinyOS Make System"
+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"
+IUSE=""
+DEPEND=">=dev-tinyos/tos-1.1.15"
+RDEPEND=">=dev-tinyos/ncc-1.1.15
+ >=dev-tinyos/tos-scripts-1.1.15"
+
+S=${WORKDIR}/${MY_P}-${PV}${CVS_MONTH}${CVS_YEAR}cvs/tools
+pkg_setup() {
+ if [ -z "${TOSROOT}" ]
+ then
+ # best to make an assumption
+ export TOSDIR=/usr/src/tinyos-1.x/tos
+ fi
+
+ if [ ! -d "${TOSROOT}" ]
+ then
+ eerror "In order to compile nesc you have to set the"
+ eerror "\$TOSROOT 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 tos-make for ${TOSROOT}"
+ fi
+}
+
+src_compile() {
+ einfo "Nothing to compile"
+}
+
+src_install() {
+ dodoc make/README
+ insinto ${TOSROOT}/tools
+ doins -r make
+ local TOSMAKEROOT=${TOSROOT}/tools/make
+ fperms 755 ${TOSMAKEROOT}/hc08/MakeTelos.sh
+ fperms 755 ${TOSMAKEROOT}/hc08/TelosMangleAppC.pl
+ fperms 755 ${TOSMAKEROOT}/msp/netbsl
+ fperms 755 ${TOSMAKEROOT}/msp/set-mote-id
+}
+
+pkg_postinst() {
+ einfo "In order to use this, just add in your Makefile something like:"
+ einfo "TOSMAKE_PATH += \${YOUR_ADDITIONAL_RULES_DIRECTORY}"
+ einfo "MAKERULES = \${TOSROOT}/tools/make/Makerules\n"
+
+ ewarn "If you want to use TinyOS on real hardware you need a cross compiler."
+ ewarn "You should emerge sys-devel/crossdev and compile any toolchain you need"
+ ewarn "Example: for Mica2 and Mica2 Dot: crossdev --target avr"
+ ewarn "You also need >=dev-tinyos/tos-uisp-1.1.14 in order to flash your mote."
+ ewarn "You also need >=dev-java/ibm-sdk-bin-1.4.0 if you plan to use deluge."
+
+ ebeep 5
+ epause 5
+}
+