1 # Maintainer: András Bíró <bbandi86@gmail.com
5 pkgdesc="Small operating system for sensor motes, embedded devices"
8 url="http://www.tinyos.net/"
11 optdepends=('jdk: for building java tools for tinyos applications'
12 'jre: for using java tools'
13 'avr-libc-tinyos: to build for atmel based platforms'
14 'avrdude: to installing for atmel based platform (which is not supported by uisp, like iris)'
15 'binutils-msp430: to build for msp430 based platforms'
16 'gcc-msp430: to build for msp430 based platforms'
17 'msp430-libc: to build for msp430 based platforms')
18 _svnroot="http://tinyos-main.googlecode.com/svn/trunk/ "
19 _svnmod="tinyos-main-read-only"
21 source=(tinyos.profile)
22 md5sums=('8275b06a188620150fb08facc1c34bd2')
26 if [ -d $_svnmod/.svn ]; then
30 svn checkout $_svnroot $_svnmod
33 msg "SVN checkout/update done or server timeout"
34 mv ${srcdir}/${_svnmod} ${srcdir}/tinyos-2.x
36 cp -r ${srcdir}/* ${pkgdir}/opt/
37 # chmod -R a+wX ${pkgdir}/opt/tinyos-2.x
38 install -D -m755 ${srcdir}/tinyos.profile ${pkgdir}/etc/profile.d/tinyos.sh