diff options
author | Sandro Bonazzola <sanchan@gentoo.org> | 2006-02-15 20:16:43 +0000 |
---|---|---|
committer | Sandro Bonazzola <sanchan@gentoo.org> | 2006-02-15 20:16:43 +0000 |
commit | 9970891e65a6c0ee53f8c8e988d5dae01cd7964c (patch) | |
tree | 30480dce958c33eaa936b8e57996156ee72f2bda /dev-tinyos/tos-apps | |
parent | Marked ~alpha (bug #122726) (diff) | |
download | gentoo-2-9970891e65a6c0ee53f8c8e988d5dae01cd7964c.tar.gz gentoo-2-9970891e65a6c0ee53f8c8e988d5dae01cd7964c.tar.bz2 gentoo-2-9970891e65a6c0ee53f8c8e988d5dae01cd7964c.zip |
New ebuild, initial release.
(Portage version: 2.1_pre4-r1)
Diffstat (limited to 'dev-tinyos/tos-apps')
-rw-r--r-- | dev-tinyos/tos-apps/ChangeLog | 10 | ||||
-rw-r--r-- | dev-tinyos/tos-apps/Manifest | 9 | ||||
-rw-r--r-- | dev-tinyos/tos-apps/files/digest-tos-apps-1.1.15 | 3 | ||||
-rw-r--r-- | dev-tinyos/tos-apps/metadata.xml | 8 | ||||
-rw-r--r-- | dev-tinyos/tos-apps/tos-apps-1.1.15.ebuild | 59 |
5 files changed, 89 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..f1622408671f --- /dev/null +++ b/dev-tinyos/tos-apps/Manifest @@ -0,0 +1,9 @@ +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 5702df2cdc018f59d9e40ae48854f5a0 tos-apps-1.1.15.ebuild 1386 +RMD160 f3e60a2bd91064a3cda0eb20ab442ffc4b58f2db tos-apps-1.1.15.ebuild 1386 +SHA256 582624a4472b0200164c4276cbef9d0bcb4fba646d81511055b68fb28a62e8bc tos-apps-1.1.15.ebuild 1386 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 +} + |