summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSandro Bonazzola <sanchan@gentoo.org>2006-01-24 19:18:02 +0000
committerSandro Bonazzola <sanchan@gentoo.org>2006-01-24 19:18:02 +0000
commit6a3da993aa258ebd480104dd62e92d14869a4828 (patch)
tree7eee446e0884a126eb2d3f66c2af0a28247faded /dev-tinyos/serial-forwarder
parentAdd support for USE_ORDER (diff)
downloadgentoo-2-6a3da993aa258ebd480104dd62e92d14869a4828.tar.gz
gentoo-2-6a3da993aa258ebd480104dd62e92d14869a4828.tar.bz2
gentoo-2-6a3da993aa258ebd480104dd62e92d14869a4828.zip
Initial import of serial-forwarder for TinyOS.
(Portage version: 2.1_pre3-r1)
Diffstat (limited to 'dev-tinyos/serial-forwarder')
-rw-r--r--dev-tinyos/serial-forwarder/ChangeLog11
-rw-r--r--dev-tinyos/serial-forwarder/Manifest3
-rw-r--r--dev-tinyos/serial-forwarder/files/digest-serial-forwarder-1.1.151
-rw-r--r--dev-tinyos/serial-forwarder/metadata.xml11
-rw-r--r--dev-tinyos/serial-forwarder/serial-forwarder-1.1.15.ebuild34
5 files changed, 60 insertions, 0 deletions
diff --git a/dev-tinyos/serial-forwarder/ChangeLog b/dev-tinyos/serial-forwarder/ChangeLog
new file mode 100644
index 000000000000..c480385ccccd
--- /dev/null
+++ b/dev-tinyos/serial-forwarder/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for dev-tinyos/serial-forwarder
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-tinyos/serial-forwarder/ChangeLog,v 1.1 2006/01/24 19:18:02 sanchan Exp $
+
+*serial-forwarder-1.1.15 (24 Jan 2006)
+
+ 24 Jan 2006; Sandro Bonazzola <sanchan@gentoo.org> +metadata.xml,
+ +serial-forwarder-1.1.15.ebuild:
+ New ebuild, thanks to Aurélien Francillon and Daniel Black.
+ Closing bug #98660.
+
diff --git a/dev-tinyos/serial-forwarder/Manifest b/dev-tinyos/serial-forwarder/Manifest
new file mode 100644
index 000000000000..d6449cf41d90
--- /dev/null
+++ b/dev-tinyos/serial-forwarder/Manifest
@@ -0,0 +1,3 @@
+MD5 4dc70773e9fed2b077c03fbbfbfab313 files/digest-serial-forwarder-1.1.15 77
+MD5 b4193e4a42a87b415d292076ddea68e5 metadata.xml 297
+MD5 a6195d8c4c0159436d3bfaec478e14d4 serial-forwarder-1.1.15.ebuild 1017
diff --git a/dev-tinyos/serial-forwarder/files/digest-serial-forwarder-1.1.15 b/dev-tinyos/serial-forwarder/files/digest-serial-forwarder-1.1.15
new file mode 100644
index 000000000000..050688065436
--- /dev/null
+++ b/dev-tinyos/serial-forwarder/files/digest-serial-forwarder-1.1.15
@@ -0,0 +1 @@
+MD5 4e9535229eab02ee1f198b244c04bcd6 tinyos-1.1.15Dec2005cvs.tar.gz 10273122
diff --git a/dev-tinyos/serial-forwarder/metadata.xml b/dev-tinyos/serial-forwarder/metadata.xml
new file mode 100644
index 000000000000..af72b446aab7
--- /dev/null
+++ b/dev-tinyos/serial-forwarder/metadata.xml
@@ -0,0 +1,11 @@
+<?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>
+<longdescription>
+Raw serial forwarder for TinyOS
+</longdescription>
+</pkgmetadata>
diff --git a/dev-tinyos/serial-forwarder/serial-forwarder-1.1.15.ebuild b/dev-tinyos/serial-forwarder/serial-forwarder-1.1.15.ebuild
new file mode 100644
index 000000000000..1f0d5eb9197d
--- /dev/null
+++ b/dev-tinyos/serial-forwarder/serial-forwarder-1.1.15.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-tinyos/serial-forwarder/serial-forwarder-1.1.15.ebuild,v 1.1 2006/01/24 19:18:02 sanchan Exp $
+
+inherit toolchain-funcs
+
+CVS_MONTH="Dec"
+CVS_YEAR="2005"
+MY_P="tinyos"
+
+DESCRIPTION="A serial forwarder for TinyOS"
+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"
+IUSE=""
+DEPEND=""
+RDEPEND=""
+S=${WORKDIR}/${MY_P}-${PV}${CVS_MONTH}${CVS_YEAR}cvs/tools/src/sf
+
+src_compile() {
+ $(tc-getCC) ${CFLAGS} -o sf sf.c serialsource.c sfsource.c platform.c || die "sf compile failed"
+ $(tc-getCC) ${CFLAGS} -o sflisten sflisten.c sfsource.c platform.c || die "sflisten compile failed"
+
+ # I'm not sure what to do with asf for arm. It seems just sf compiled for arm.
+ # But it has no much sense build it if it can't run on the system.
+ # If you use this on arm, please contact the maintainer.
+}
+
+src_install() {
+ exeinto /usr/bin
+ doexe sf sflisten || die "install failed"
+}