summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaúl Porcel <armin76@gentoo.org>2010-10-28 19:37:07 +0200
committerRaúl Porcel <armin76@gentoo.org>2010-10-28 19:37:07 +0200
commit28339729aa7dbd39976a07d89dda824eb327dcc0 (patch)
treedb5eec5c7259380180e9693861ac31dd8009efe6 /net-wireless/tibtfm-wl1271
downloadpandaboard-28339729aa7dbd39976a07d89dda824eb327dcc0.tar.gz
pandaboard-28339729aa7dbd39976a07d89dda824eb327dcc0.tar.bz2
pandaboard-28339729aa7dbd39976a07d89dda824eb327dcc0.zip
Initial push
Diffstat (limited to 'net-wireless/tibtfm-wl1271')
-rw-r--r--net-wireless/tibtfm-wl1271/Manifest5
-rwxr-xr-xnet-wireless/tibtfm-wl1271/files/tibtfm-wl1271.init26
-rw-r--r--net-wireless/tibtfm-wl1271/metadata.xml8
-rw-r--r--net-wireless/tibtfm-wl1271/tibtfm-wl1271-0.24.9.ebuild45
4 files changed, 84 insertions, 0 deletions
diff --git a/net-wireless/tibtfm-wl1271/Manifest b/net-wireless/tibtfm-wl1271/Manifest
new file mode 100644
index 0000000..3cef107
--- /dev/null
+++ b/net-wireless/tibtfm-wl1271/Manifest
@@ -0,0 +1,5 @@
+AUX tibtfm-wl1271.init 705 RMD160 d846efa7fc7a6b21de77355c819d8280b223bbc1 SHA1 8f20198591e5ef4fa7f08ec9f7cda9aed90e2f84 SHA256 1c09a22e54171aee8e36a69dc2182020482c865d0a163a0ddc2f00d5047991dc
+DIST tibtfm-wl1271_0.24.9-0ubuntu6.diff.gz 4110 RMD160 4b6a9c13c9765458cf6d65a417de0ceb48c99de4 SHA1 3be118bee561efe59af28e1164b4a99ce8aff74d SHA256 d97315e1ffe66c1fc625726aff6a18fc67183e3def28616fb819ea2466e1487b
+DIST tibtfm-wl1271_0.24.9.orig.tar.gz 12032 RMD160 2c7fed1bf8d09f38f86d6443d4139713043397e3 SHA1 a28ae4d05d7730ea6d07576531059067e3374fca SHA256 9e243042c48fb2591735b0526d265f4f03af779acc8a31f6c847a45138d041b0
+EBUILD tibtfm-wl1271-0.24.9.ebuild 942 RMD160 0efa3e09faea04f1430708e6440311435c536b50 SHA1 17a75550d8864e36444268a22876513bf384416a SHA256 ba397eb8836afb8ec7c5e18a8d48dfca32dc2a2eba0926e736944342eefa571c
+MISC metadata.xml 222 RMD160 3f50aa50f95905f1387e67bc72c80b4c1b63aab4 SHA1 b5ad6eab5a55d57fd25fa68a46d1359cc25759aa SHA256 b8f80af5f2e9d409535bd1e3981b685a013f820ec82b504d82d5c9c077cd9fa6
diff --git a/net-wireless/tibtfm-wl1271/files/tibtfm-wl1271.init b/net-wireless/tibtfm-wl1271/files/tibtfm-wl1271.init
new file mode 100755
index 0000000..289b181
--- /dev/null
+++ b/net-wireless/tibtfm-wl1271/files/tibtfm-wl1271.init
@@ -0,0 +1,26 @@
+#!/sbin/runscript
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/bluez/files/4.60/bluetooth-init.d,v 1.2 2010/06/11 10:14:00 pacho Exp $
+
+depend() {
+ after coldplug
+ need dbus localmount
+}
+
+start() {
+ ebegin "Initializing BT module of wl1271"
+
+ start-stop-daemon --start --verbose --background \
+ --name tibtfm-wl1271 --pidfile /var/run/tibtfm-wl1271.pid --make-pidfile \
+ --exec /usr/bin/uim -- /dev/ttyO1 3686400 1 22
+
+ eend $?
+}
+
+stop() {
+ ebegin "Deinitializing BT module of wl1271"
+ start-stop-daemon --stop \
+ --name tibtfm-wl1271 --pidfile /var/run/tibtfm-wl1271.pid
+ eend $?
+}
diff --git a/net-wireless/tibtfm-wl1271/metadata.xml b/net-wireless/tibtfm-wl1271/metadata.xml
new file mode 100644
index 0000000..f6b1086
--- /dev/null
+++ b/net-wireless/tibtfm-wl1271/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>no-herd</herd>
+<maintainer>
+ <email>armin76@gentoo.org</email>
+</maintainer>
+</pkgmetadata>
diff --git a/net-wireless/tibtfm-wl1271/tibtfm-wl1271-0.24.9.ebuild b/net-wireless/tibtfm-wl1271/tibtfm-wl1271-0.24.9.ebuild
new file mode 100644
index 0000000..5a70f52
--- /dev/null
+++ b/net-wireless/tibtfm-wl1271/tibtfm-wl1271-0.24.9.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/zd1211-firmware/zd1211-firmware-1.4.ebuild,v 1.2 2007/11/03 12:03:19 dsd Exp $
+
+EAPI="2"
+
+inherit eutils
+
+MY_P="${PN}_${PV}"
+
+DESCRIPTION="Texas Instruments WiLinkTM solution (WL1271) applications"
+HOMEPAGE="https://gforge.ti.com/gf/project/wilink_drivers/"
+BASE_URI="https://launchpad.net/~tiomap-dev/+archive/release/+files"
+SRC_URI="${BASE_URI}/${MY_P}.orig.tar.gz"
+SRC_URI="${SRC_URI} ${BASE_URI}/${MY_P}-0ubuntu6.diff.gz"
+
+
+
+LICENSE="TI-TSPA-v1"
+SLOT="0"
+KEYWORDS="arm"
+
+IUSE=""
+RDEPEND="net-wireless/tibtfm-wl1271-firmware"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+ cd ${WORKDIR}
+
+ epatch ${MY_P}*.diff
+ cd "${S}"
+ epatch "${S}"/debian/patches/*.patch
+}
+
+src_compile() {
+ cd "${S}"/uim
+ make -j1
+}
+
+src_install() {
+ cd "${S}"
+ dobin uim/uim
+
+ newinitd "${FILESDIR}"/${PN}.init ${PN}
+}