PREFIX = /usr
-OSSO_CFLAGS = $(shell pkg-config --cflags libosso)
-OSSO_LDFLAGS = $(shell pkg-config --libs libosso)
+OSSO_CFLAGS = $(shell pkg-config --silence-errors --cflags libosso)
+OSSO_LDFLAGS = $(shell pkg-config --silence-errors --libs libosso)
DBUS_CFLAGS = $(shell pkg-config --cflags dbus-1)
DBUS_LDFLAGS = $(shell pkg-config --libs dbus-1)
GLIB_LDFLAGS = $(shell pkg-config --libs glib-2.0)
CPPFLAGS =
-CFLAGS = $(DBUS_CFLAGS) $(GLIB_CFLAGS)
-LDFLAGS = -liw $(DBUS_LDFLAGS) $(GLIB_LDFLAGS)
+CFLAGS = $(DBUS_CFLAGS) $(GLIB_CFLAGS) $(OSSO_CFLAGS)
+LDFLAGS = -liw $(DBUS_LDFLAGS) $(GLIB_LDFLAGS) $(OSSO_LDFLAGS)
default:
+wifiscand (1.3-1) fremantle; urgency=low
+
+ * Allow scan to return more than 25 Aps
+ * Use standard wireless library
+ * Modified to build also in standard debian
+
+ -- Javier Palacios <javiplx@gmail.com> Sun, 17 Oct 2010 13:06:49 +0200
+
wifiscand (1.1-1) fremantle; urgency=low
* Added new method to separate daemon and actual scanning start
Source: wifiscand
Section: main
Priority: optional
-Maintainer: Javier Palacios <javiplx@gmai.com>
-Build-Depends: libiw-dev, libosso-dev, debhelper (>= 4.0.0)
+Maintainer: Javier Palacios <javiplx@gmail.com>
+Build-Depends: libiw-dev, libosso-dev [armel], debhelper (>= 4.0.0)
Standards-Version: 3.6.1
Package: wifiscand
Architecture: any
-Depends: libiw30, libosso1, ${shlibs:Depends}, ${misc:Depends}
+Depends: libiw30 [armel], libiw29 [!armel], libosso1 [armel], ${shlibs:Depends}, ${misc:Depends}
Description: Wireless Scanning daemon
OSSO/DBus service for wireless scanning
dh_testdir
# Add here commands to compile the package.
- $(MAKE) wifiscand CPPFLAGS="-DHAVE_LIBOSSO"
+ pkg-config --exists libosso ; \
+ if [ $? -eq 0 ] ; then \
+ echo $(MAKE) wifiscand CPPFLAGS="-DHAVE_LIBOSSO" ; \
+ else \
+ echo $(MAKE) wifiscand ; \
+ fi
touch build-stamp