ChangeLog

# ChangeLog for dev-tinyos/tos-make
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/dev-tinyos/tos-make/ChangeLog,v 1.4 2007/03/05 22:40:11 sanchan Exp $

05 Mar 2007; Sandro Bonazzola ChangeLog:
Removing myself from metadata.xml as I'm stepping back.

14 Nov 2006; Sandro Bonazzola metadata.xml,
tos-make-1.1.15.ebuild:
Keywording ~amd64.

09 Aug 2006; Sandro Bonazzola tos-make-1.1.15.ebuild:
Moving important info from einfo to elog.

*tos-make-1.1.15 (12 Feb 2006)

12 Feb 2006; Sandro Bonazzola +metadata.xml,
+tos-make-1.1.15.ebuild:
New ebuild, close bug #98662. Thanks to Aurélien Francillon.

Manifest

DIST tinyos-1.1.15Dec2005cvs.tar.gz 10273122 RMD160 cddbcf32e53352d04be2eda49852540650e73088 SHA1 98b63826ff85272e43e10fa88db71ba46f0bdbe0 SHA256 78f985eb83293cf10f23013f771c7f5d130f9a240a4dcda02321e10c3b5a341f
EBUILD tos-make-1.1.15.ebuild 2124 RMD160 a95c67c5fbe3bee9186a131201f145c1db66615c SHA1 0842f1af5e3690e71ffa66287394d420cb0eceac SHA256 998765ed78a71c69743aba5dfc4389fa3ab2d756465f16c4a3d476fee7482447
MISC ChangeLog 764 RMD160 a711fc6d91d541dc4793a351834a742498a28169 SHA1 634bdbe82cb530b90ef5ecbe275900de3b1cc664 SHA256 7b4162c36db3d7f58028ce0b8cc718de84a825261dbb82130ce8c3658c93e009
MISC metadata.xml 456 RMD160 f034d99b030aa322efbb8863eda4d33371db0a83 SHA1 65db1026e794207a313fe00fc6f760ac04b39037 SHA256 516d380d823d21ca5229eb4e0eed6a3ad8aa511660ad370527198463e0a0d41d

metadata.xml




dev-embedded

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

tos-make-1.1.15.ebuild

# 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.4 2007/07/15 02:46:39 mr_bones_ 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 ~amd64"
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() {
elog "In order to use this, just add in your Makefile something like:"
elog "TOSMAKE_PATH += \${YOUR_ADDITIONAL_RULES_DIRECTORY}"
elog "MAKERULES = \${TOSROOT}/tools/make/Makerules\n"

elog "If you want to use TinyOS on real hardware you need a cross compiler."
elog "You should emerge sys-devel/crossdev and compile any toolchain you need"
elog "Example: for Mica2 and Mica2 Dot: crossdev --target avr"
elog "You also need >=dev-tinyos/tos-uisp-1.1.14 in order to flash your mote."
elog "You also need >=dev-java/ibm-sdk-bin-1.4.0 if you plan to use deluge."

ebeep 5
epause 5
}