From 709c4d66e0b107ca606941b988bad717c0b45d9b Mon Sep 17 00:00:00 2001 From: Denys Dmytriyenko Date: Tue, 17 Mar 2009 14:32:59 -0400 Subject: rename packages/ to recipes/ per earlier agreement See links below for more details: http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326 http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816 Signed-off-by: Denys Dmytriyenko Acked-by: Mike Westerhof Acked-by: Philip Balister Acked-by: Khem Raj Acked-by: Marcin Juszkiewicz Acked-by: Koen Kooi Acked-by: Frans Meulenbroeks --- recipes/btsco/btsco-module-0.41/makefile.patch | 16 ++++++++++++++++ recipes/btsco/btsco-module-0.42/makefile.patch | 16 ++++++++++++++++ recipes/btsco/btsco-module.inc | 19 +++++++++++++++++++ recipes/btsco/btsco-module_0.41.bb | 3 +++ recipes/btsco/btsco-module_0.42.bb | 1 + recipes/btsco/btsco.inc | 12 ++++++++++++ recipes/btsco/btsco_0.41.bb | 3 +++ recipes/btsco/btsco_0.42.bb | 9 +++++++++ 8 files changed, 79 insertions(+) create mode 100644 recipes/btsco/btsco-module-0.41/makefile.patch create mode 100644 recipes/btsco/btsco-module-0.42/makefile.patch create mode 100644 recipes/btsco/btsco-module.inc create mode 100644 recipes/btsco/btsco-module_0.41.bb create mode 100644 recipes/btsco/btsco-module_0.42.bb create mode 100644 recipes/btsco/btsco.inc create mode 100644 recipes/btsco/btsco_0.41.bb create mode 100644 recipes/btsco/btsco_0.42.bb (limited to 'recipes/btsco') diff --git a/recipes/btsco/btsco-module-0.41/makefile.patch b/recipes/btsco/btsco-module-0.41/makefile.patch new file mode 100644 index 0000000000..a7beb54761 --- /dev/null +++ b/recipes/btsco/btsco-module-0.41/makefile.patch @@ -0,0 +1,16 @@ +--- kernel/Makefile.orig 2006-01-13 00:32:58.000000000 +0100 ++++ 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/recipes/btsco/btsco-module-0.42/makefile.patch b/recipes/btsco/btsco-module-0.42/makefile.patch new file mode 100644 index 0000000000..a7beb54761 --- /dev/null +++ b/recipes/btsco/btsco-module-0.42/makefile.patch @@ -0,0 +1,16 @@ +--- kernel/Makefile.orig 2006-01-13 00:32:58.000000000 +0100 ++++ 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/recipes/btsco/btsco-module.inc b/recipes/btsco/btsco-module.inc new file mode 100644 index 0000000000..5c38fb1719 --- /dev/null +++ b/recipes/btsco/btsco-module.inc @@ -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-${PV}.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/recipes/btsco/btsco-module_0.41.bb b/recipes/btsco/btsco-module_0.41.bb new file mode 100644 index 0000000000..46f647998b --- /dev/null +++ b/recipes/btsco/btsco-module_0.41.bb @@ -0,0 +1,3 @@ +require btsco-module.inc + +PR = "r1" diff --git a/recipes/btsco/btsco-module_0.42.bb b/recipes/btsco/btsco-module_0.42.bb new file mode 100644 index 0000000000..85b7790342 --- /dev/null +++ b/recipes/btsco/btsco-module_0.42.bb @@ -0,0 +1 @@ +require btsco-module.inc diff --git a/recipes/btsco/btsco.inc b/recipes/btsco/btsco.inc new file mode 100644 index 0000000000..32009b9a26 --- /dev/null +++ b/recipes/btsco/btsco.inc @@ -0,0 +1,12 @@ +DESCRIPTION = "Bluetooth-alsa headset tool" +HOMEPAGE = "http://bluetooth-alsa.sourceforge.net/" +LICENSE = "GPL" +DEPENDS = "alsa-lib bluez-libs" + +inherit autotools pkgconfig + +SRC_URI = "${SOURCEFORGE_MIRROR}/bluetooth-alsa/btsco-${PV}.tar.gz" + +S = "${WORKDIR}/${PN}-${PV}" + +CFLAGS += " -I${STAGING_INCDIR} " diff --git a/recipes/btsco/btsco_0.41.bb b/recipes/btsco/btsco_0.41.bb new file mode 100644 index 0000000000..46c388a83f --- /dev/null +++ b/recipes/btsco/btsco_0.41.bb @@ -0,0 +1,3 @@ +require btsco.inc + +PR = "r2" diff --git a/recipes/btsco/btsco_0.42.bb b/recipes/btsco/btsco_0.42.bb new file mode 100644 index 0000000000..3fa6b0636b --- /dev/null +++ b/recipes/btsco/btsco_0.42.bb @@ -0,0 +1,9 @@ +require btsco.inc + +#there are some bogus macros putting -I/usr/include into C(PP)FLAGS, lets fix that +do_configure() { + libtoolize --force + gnu-configize + sed -i 's:-I${bluez_prefix}/include::g' configure + oe_runconf +} -- cgit 1.2.3-korg