summaryrefslogtreecommitdiff
path: root/packages/btsco
diff options
context:
space:
mode:
authorPhilipp Zabel <philipp.zabel@gmail.com>2006-01-13 00:01:31 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-01-13 00:01:31 +0000
commitc6008f022c47d36f3fa1d899eafecb7e15a162cf (patch)
tree23da198c7a1f9f84480ac5975f86139e08388673 /packages/btsco
parent480d1ffea569db5262f0c868f097df9770b73e65 (diff)
add btsco, btsco-module: closes #586
Diffstat (limited to 'packages/btsco')
-rw-r--r--packages/btsco/.mtn2git_empty0
-rw-r--r--packages/btsco/btsco-module-0.41/.mtn2git_empty0
-rw-r--r--packages/btsco/btsco-module-0.41/makefile.patch16
-rw-r--r--packages/btsco/btsco-module_0.41.bb19
-rw-r--r--packages/btsco/btsco_0.41.bb11
5 files changed, 46 insertions, 0 deletions
diff --git a/packages/btsco/.mtn2git_empty b/packages/btsco/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/btsco/.mtn2git_empty
diff --git a/packages/btsco/btsco-module-0.41/.mtn2git_empty b/packages/btsco/btsco-module-0.41/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/btsco/btsco-module-0.41/.mtn2git_empty
diff --git a/packages/btsco/btsco-module-0.41/makefile.patch b/packages/btsco/btsco-module-0.41/makefile.patch
new file mode 100644
index 0000000000..cf57b59475
--- /dev/null
+++ b/packages/btsco/btsco-module-0.41/makefile.patch
@@ -0,0 +1,16 @@
+--- btsco-0.41/kernel/Makefile.orig 2006-01-13 00:32:58.000000000 +0100
++++ btsco-0.41/kernel/Makefile 2006-01-13 00:33:35.000000000 +0100
+@@ -10,10 +10,10 @@
+
+
+ default:
+- @make -C /lib/modules/`uname -r`/build M=`pwd` modules
++ $(MAKE) -C $(KERNEL_SRC) M=`pwd` modules
+
+ install:
+- @make -C /lib/modules/`uname -r`/build M=`pwd` modules_install
++ $(MAKE) -C $(KERNEL_SRC) M=`pwd` modules_install
+
+ clean:
+- @make -C /lib/modules/`uname -r`/build M=`pwd` clean
++ $(MAKE) -C $(KERNEL_SRC) M=`pwd` clean
diff --git a/packages/btsco/btsco-module_0.41.bb b/packages/btsco/btsco-module_0.41.bb
new file mode 100644
index 0000000000..c4997cf5bd
--- /dev/null
+++ b/packages/btsco/btsco-module_0.41.bb
@@ -0,0 +1,19 @@
+DESCRIPTION = "Bluetooth-alsa headset module"
+SECTION = "kernel/modules"
+HOMEPAGE = "http://bluetooth-alsa.sourceforge.net/"
+LICENSE = "GPL"
+DEPENDS = "alsa-lib bluez-libs"
+
+inherit module
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/bluetooth-alsa/btsco-0.41.tar.gz \
+ file://makefile.patch;patch=1"
+
+S = "${WORKDIR}/btsco-${PV}/kernel"
+
+MAKE_TARGETS = "KERNEL_PATH=${STAGING_KERNEL_DIR} MAKE='make -e'"
+
+do_install() {
+ install -m 0755 -d ${D}${base_libdir}/modules/${KERNEL_VERSION}/extra
+ install -m 0644 ${S}/snd-bt-sco${KERNEL_OBJECT_SUFFIX} ${D}${base_libdir}/modules/${KERNEL_VERSION}/extra/
+}
diff --git a/packages/btsco/btsco_0.41.bb b/packages/btsco/btsco_0.41.bb
new file mode 100644
index 0000000000..dae5877483
--- /dev/null
+++ b/packages/btsco/btsco_0.41.bb
@@ -0,0 +1,11 @@
+DESCRIPTION = "Bluetooth-alsa headset tool"
+HOMEPAGE = "http://bluetooth-alsa.sourceforge.net/"
+LICENSE = "GPL"
+MAINTAINER = "Robert Woerle <robert@linuxdevelopment.de>"
+DEPENDS = "alsa-lib bluez-libs"
+
+inherit autotools pkgconfig
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/bluetooth-alsa/btsco-0.41.tar.gz"
+
+S = "${WORKDIR}/${PN}-${PV}"