summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSandro Bonazzola <sanchan@gentoo.org>2006-02-15 20:16:43 +0000
committerSandro Bonazzola <sanchan@gentoo.org>2006-02-15 20:16:43 +0000
commit93177708071201e5c65ff84af9d091d57b7d0bd3 (patch)
tree2e2225207f212df29f159528f3771e7327c5fc73 /dev-tinyos
parentMarked ~alpha (bug #122726) (diff)
downloadhistorical-93177708071201e5c65ff84af9d091d57b7d0bd3.tar.gz
historical-93177708071201e5c65ff84af9d091d57b7d0bd3.tar.bz2
historical-93177708071201e5c65ff84af9d091d57b7d0bd3.zip
New ebuild, initial release.
Package-Manager: portage-2.1_pre4-r1
Diffstat (limited to 'dev-tinyos')
-rw-r--r--dev-tinyos/tos-apps/ChangeLog10
-rw-r--r--dev-tinyos/tos-apps/Manifest22
-rw-r--r--dev-tinyos/tos-apps/files/digest-tos-apps-1.1.153
-rw-r--r--dev-tinyos/tos-apps/metadata.xml8
-rw-r--r--dev-tinyos/tos-apps/tos-apps-1.1.15.ebuild59
5 files changed, 102 insertions, 0 deletions
diff --git a/dev-tinyos/tos-apps/ChangeLog b/dev-tinyos/tos-apps/ChangeLog
new file mode 100644
index 000000000000..44497f8c14ee
--- /dev/null
+++ b/dev-tinyos/tos-apps/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-tinyos/tos-apps
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-tinyos/tos-apps/ChangeLog,v 1.1 2006/02/15 20:16:43 sanchan Exp $
+
+*tos-apps-1.1.15 (15 Feb 2006)
+
+ 15 Feb 2006; Sandro Bonazzola <sanchan@gentoo.org> +metadata.xml,
+ +tos-apps-1.1.15.ebuild:
+ New ebuild, initial release.
+
diff --git a/dev-tinyos/tos-apps/Manifest b/dev-tinyos/tos-apps/Manifest
new file mode 100644
index 000000000000..fbb514d087d3
--- /dev/null
+++ b/dev-tinyos/tos-apps/Manifest
@@ -0,0 +1,22 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+MD5 d7b7edb601f00b7a31afb17f38c7b910 ChangeLog 371
+RMD160 529bc2b1af5accf9fba60844fdabcad6a143815e ChangeLog 371
+SHA256 d26c78be808b4bec879fba066bd0007e83d26c72092f6e4f533b5fdc75601abd ChangeLog 371
+MD5 ee3e227f1140637c0a2902237487307a files/digest-tos-apps-1.1.15 277
+RMD160 a1216e8d4d893cb0269dc46144906b0fcfd86148 files/digest-tos-apps-1.1.15 277
+SHA256 283d09d9ff408b822f0e756457cbfe2c9c9bfaf6456e0c912375245ef978ac5b files/digest-tos-apps-1.1.15 277
+MD5 3a58fa6647ba829aae8377165129480e metadata.xml 228
+RMD160 422142af30c07b83b0f15244a5b2cf2568c132a3 metadata.xml 228
+SHA256 730540c3fad44d91d51566db3eaa8e4de6291633c1a58831ae66a962ec272ed0 metadata.xml 228
+MD5 ee26654df25317a1d6d8f222b42a2acf tos-apps-1.1.15.ebuild 1491
+RMD160 349a40f2d6a08ae6a993ac45b65a967e02e16b62 tos-apps-1.1.15.ebuild 1491
+SHA256 3f93a6ca8fb4a30039f5254fd2dc1b49bcbcb9ef715b4687064205e21d71356a tos-apps-1.1.15.ebuild 1491
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.2 (GNU/Linux)
+
+iD8DBQFD84xQ1c24p4LpXH8RAiD1AJ4l7CCLfvro4DoOQZiKBb8Elh/rCwCfZ1QT
+8/HPbBclC+tChgfyfNy5wu8=
+=PaNU
+-----END PGP SIGNATURE-----
diff --git a/dev-tinyos/tos-apps/files/digest-tos-apps-1.1.15 b/dev-tinyos/tos-apps/files/digest-tos-apps-1.1.15
new file mode 100644
index 000000000000..a4d5cf882379
--- /dev/null
+++ b/dev-tinyos/tos-apps/files/digest-tos-apps-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-apps/metadata.xml b/dev-tinyos/tos-apps/metadata.xml
new file mode 100644
index 000000000000..e99a5ce24029
--- /dev/null
+++ b/dev-tinyos/tos-apps/metadata.xml
@@ -0,0 +1,8 @@
+<?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>
+</pkgmetadata>
diff --git a/dev-tinyos/tos-apps/tos-apps-1.1.15.ebuild b/dev-tinyos/tos-apps/tos-apps-1.1.15.ebuild
new file mode 100644
index 000000000000..1afa56b48c6b
--- /dev/null
+++ b/dev-tinyos/tos-apps/tos-apps-1.1.15.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/tos-apps/tos-apps-1.1.15.ebuild,v 1.1 2006/02/15 20:16:43 sanchan Exp $
+inherit eutils
+
+CVS_MONTH="Dec"
+CVS_YEAR="2005"
+MY_PN="tinyos"
+MY_P=${MY_PN}-${PV}${CVS_MONTH}${CVS_YEAR}cvs
+
+DESCRIPTION="TinyOS apps: TinyOS bundled applications."
+HOMEPAGE="http://www.tinyos.net/"
+SRC_URI="http://www.tinyos.net/dist-1.1.0/tinyos/source/${MY_P}.tar.gz"
+LICENSE="Intel"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+DEPEND=">=dev-tinyos/tos-1.1.15"
+RDEPEND=">=dev-tinyos/tos-make-1.1.15"
+
+S=${WORKDIR}/${MY_P}
+
+pkg_setup() {
+ if [ -z "${TOSROOT}" ]
+ then
+ export TOSROOT=/usr/src/tinyos-1.x
+ fi
+
+ if [ ! -d "${TOSROOT}" ]
+ then
+ eerror "In order to emerge tos-apps 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-apps for ${TOSROOT}"
+ fi
+}
+
+src_compile() {
+ einfo "Nothing to compile."
+}
+
+src_install() {
+ insinto ${TOSROOT}
+ doins -r apps
+ chown -R root:0 "${D}"
+}
+
+pkg_postinst() {
+ einfo "If you want to use TinyOS on real hardware you need a cross compiler."
+ einfo "You should emerge sys-devel/crossdev and compile any toolchain you need"
+ einfo "Example: for Mica2 and Mica2 Dot: crossdev --target avr"
+ ebeep 5
+ epause 5
+}
+