diff options
author | ABDULLATIF Mouhamadi | 2017-05-22 19:06:51 +0200 |
---|---|---|
committer | ABDULLATIF Mouhamadi | 2017-05-22 19:06:51 +0200 |
commit | 383dcf6067f8adc020b7ffa484b5aac3f312f66a (patch) | |
tree | d3e6438a0c68eee18ec2793d99d5cfbed868b0d3 /PKGBUILD | |
download | aur-383dcf6067f8adc020b7ffa484b5aac3f312f66a.tar.gz |
first commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..b8e9bb7cabdf --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,29 @@ +# Maintainer: ABDULLATIF Mouhamadi <bourou01dev@gmail.com> +pkgname=tinyos +pkgver=2.1.2 +pkgrel=1 +pkgdesc="Small operating system for sensor motes, embedded devices" +arch=(any) +license=(GPL) +options=(!libtool) +url="http://www.tinyos.net/" +depends=('glibc' 'nesc') +optdepends=('jdk: for building java tools for tinyos applications' + 'jre: for using java tools' + 'avr-libc-tinyos: to build for atmel based platforms' + 'avrdude: to installing for atmel based platform (which is not supported by uisp, like iris)' + 'binutils-msp430: to build for msp430 based platforms' + 'gcc-msp430: to build for msp430 based platforms' + 'msp430-libc: to build for msp430 based platforms') + +source=(http://tinyos.stanford.edu/tinyos/dists/source/${pkgname}-${pkgver}.tar.gz + tinyos.profile) +md5sums=('58c894214a353866a4a11774c3372dae' + '242f5d337860fd4f5c713bf39a5e5c1d') + +package() { + + install -d ${pkgdir}/opt + cp -aR ${srcdir}/${pkgname}-${pkgver}/ ${pkgdir}/opt + install -D -m755 ${srcdir}/${pkgname}.profile ${pkgdir}/etc/profile.d/${pkgname}.sh +} |