+++ /dev/null
-
-#
-# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
-#
-
---- bluez-hcidump-1.5/configure.in~configure
-+++ bluez-hcidump-1.5/configure.in
-@@ -24,8 +24,8 @@
- AC_ARG_WITH(bluez-libs,
- --with-bluez-libs=DIR BlueZ libraries and header files,
- [
-- BLUEZ_INCDIR="$withval"/include
-- BLUEZ_LIBDIR="$withval"/src
-+ BLUEZ_INCDIR="$withval/include $withval/include/bluetooth"
-+ BLUEZ_LIBDIR="$withval"/lib
- ],[
- BLUEZ_INCDIR='../libs/include /usr/include/bluetooth'
- BLUEZ_LIBDIR='../libs/src /usr/lib'
---- bluez-hcidump-1.5/acinclude.m4~configure
-+++ bluez-hcidump-1.5/acinclude.m4
-@@ -74,7 +74,7 @@
- p=`cd $p && pwd`
-
- # Check for libtool library
-- if test -f $p/lib$1.la; then
-+ if test -f $p/lib$1.la -a -d $p/.libs; then
- path=$p/.libs
- else
- path=$p
+++ /dev/null
-SECTION = "libs"
-PRIORITY = "optional"
-SECTION = "libs"
-DEPENDS = "virtual/libbluetooth"
-DESCRIPTION = "Analyses Bluetooth HCI packets."
-PR = "r1"
-
-SRC_URI = "http://bluez.sourceforge.net/download/bluez-hcidump-${PV}.tar.gz \
- file://configure.patch;patch=1"
-
-EXTRA_OECONF = "--with-bluez-libs=${STAGING_LIBDIR}/.."
-CPPFLAGS =+ "-I${STAGING_KERNEL_DIR}/include"
-
-inherit autotools
+++ /dev/null
-SECTION = "libs"
-PRIORITY = "optional"
-SECTION = "libs"
-PROVIDES = "virtual/libbluetooth"
-DESCRIPTION = "Linux Bluetooth Stack Libaries."
-
-SRC_URI = "http://bluez.sourceforge.net/download/bluez-libs-${PV}.tar.gz"
-
-inherit autotools
-
-do_stage () {
- oe_libinstall -a -so -C src libbluetooth ${STAGING_LIBDIR}
-
- install -d ${STAGING_INCDIR}/bluetooth
- for X in bluetooth.h hci.h hci_lib.h hci_uart.h hci_vhci.h l2cap.h \
- sco.h rfcomm.h
- do
- install -m 0644 include/${X} ${STAGING_INCDIR}/bluetooth/${X}
- done
-}
+++ /dev/null
-SECTION = "libs"
-PRIORITY = "optional"
-SECTION = "libs"
-DEPENDS = "virtual/libbluetooth virtual/libsdp"
-DESCRIPTION = "Personal area networking for Bluetooth devices."
-
-SRC_URI = "http://bluez.sourceforge.net/download/bluez-pan-${PV}.tar.gz"
-
-EXTRA_OECONF:="--with-bluez-libs=${STAGING_LIBDIR} --with-bluez-includes=${STAGING_INCDIR} --with-sdp-libs=${STAGING_LIBDIR} --with-sdp-includes=${STAGING_INCDIR}"
-
-inherit autotools
+++ /dev/null
-SECTION = "libs"
-PRIORITY = "optional"
-SECTION = "libs"
-DEPENDS = "virtual/libbluetooth"
-PROVIDES = "virtual/libsdp"
-DESCRIPTION = "BlueZ Bluetooth SDP daemon and tool."
-
-SRC_URI = "http://bluez.sourceforge.net/download/bluez-sdp-${PV}.tar.gz"
-
-EXTRA_OECONF:="--with-bluez-libs=${STAGING_LIBDIR} --with-bluez-includes=${STAGING_INCDIR}"
-LDFLAGS_prepend = "-L${S}/libs "
-
-inherit autotools
-
-do_stage () {
- oe_libinstall -a -so -C libs libsdp ${STAGING_LIBDIR}
-
- for X in sdp.h sdp_lib.h
- do
- install -m 0644 include/$X ${STAGING_INCDIR}/bluetooth/$X
- done
-
-}
-
+++ /dev/null
-SECTION = "libs"
-PRIORITY = "optional"
-SECTION = "libs"
-DEPENDS = "virtual/libbluetooth"
-DESCRIPTION = "Utilities for controlling Bluetooth devices."
-PR = "r1"
-
-SRC_URI = "http://bluez.sourceforge.net/download/bluez-utils-${PV}.tar.gz \
- file://man.patch;patch=1 \
- file://configure.patch;patch=1"
-
-EXTRA_OECONF:="--with-bluez-libs=${STAGING_LIBDIR} --with-bluez-includes=${STAGING_INCDIR}"
-
-inherit autotools
+
+#
+# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
+#
+
+--- btscanner-1.0/configure.in~configure.patch 2003-10-14 13:01:20.000000000 +0200
++++ btscanner-1.0/configure.in 2004-07-16 11:55:24.000000000 +0200
+@@ -10,9 +10,8 @@
+ AC_PROG_CC
+
+ # Checks for libraries.
+-AC_HAVE_LIBRARY(curses,,[AC_MSG_ERROR([Curses not found])])
++AC_HAVE_LIBRARY(ncurses,,[AC_MSG_ERROR([Curses not found])])
+ AC_HAVE_LIBRARY(bluetooth,,[AC_MSG_ERROR([Bluetooth not found])])
+-AC_HAVE_LIBRARY(sdp,,[AC_MSG_ERROR([SDP not found])])
+ AC_HAVE_LIBRARY(pthread,,[AC_MSG_ERROR([Pthreads not found])])
+ AC_HAVE_LIBRARY(gdbm,,[AC_MSG_ERROR([GDBM not found])])
+
+--- btscanner-1.0/Makefile.in~configure.patch 2003-10-14 14:16:23.000000000 +0200
++++ btscanner-1.0/Makefile.in 2004-07-16 11:54:45.000000000 +0200
+@@ -6,9 +6,12 @@
+ CP = cp
+ MV = mv
+ RM = rm
++INSTALL = install
+ GZIP = gzip
+ MKDIR = mkdir
+
++DESTDIR =
++
+ all: $(EXECS)
+
+ btscanner.o: btscanner.c btscanner.h
+@@ -34,7 +37,7 @@
+ $(CC) $(CFLAGS) -c $*.c
+
+ install: all
+- $(MKDIR) -p @prefix@/bin
+- $(CP) $(EXECS) @prefix@/bin/
+- $(MKDIR) -p @prefix@/etc
+- $(CP) oui.txt @prefix@/etc/oui.txt
++ $(INSTALL) -d $(DESTDIR)/@prefix@/bin
++ $(INSTALL) -m 0755 $(EXECS) $(DESTDIR)/@prefix@/bin/
++ $(INSTALL) -d $(DESTDIR)/@prefix@/etc
++ $(INSTALL) -m 0444 oui.txt $(DESTDIR)/@prefix@/etc/oui.txt
-HOMEPAGE = "http://www.pentest.co.uk/cgi-bin/viewcat.cgi?cat=downloads§ion=01_bluetooth"
-DESCRIPTION = "Extract information from near Bluetooth devices"
+DESCRIPTION = "Extract information from Bluetooth devices in range."
SECTION = "libs"
PRIORITY = "optional"
-DEPENDS = "virtual/libbluetooth virtual/libsdp gdbm ncurses"
+HOMEPAGE = "http://www.pentest.co.uk/cgi-bin/viewcat.cgi?cat=downloads§ion=01_bluetooth"
+DEPENDS = "libbluetooth gdbm ncurses"
+PR = "r1"
SRC_URI = "http://www.pentest.co.uk/src/btscanner-${PV}.tar.gz \
file://configure.patch;patch=1"