2 # Copyright (C) 2012 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
14 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
15 PKG_SOURCE_URL
:=ftp
://ftp.digifail.com
/downloads
/software
/bluelog
16 PKG_MD5SUM
:=f406d47ec94970be219cbb38f49402f9
20 include $(INCLUDE_DIR
)/package.mk
22 define Package
/bluelog
/Default
25 TITLE
:=Bluetooth scanner and logger
26 URL
:=http
://www.digifail.com
/software
/bluelog.shtml
27 DEPENDS
:=+bluez-utils
+kmod-bluetooth
30 define Package
/bluelog
/Default
/description
31 Bluelog is a simple Bluetooth scanner designed to tell you how many
32 discoverable devices there are in an area
as quickly
as possible. It is
33 intended to be used
as a site survey tool
, identifying the number of possible
34 Bluetooth targets there are in the surrounding environment.
37 define Package
/bluelog
38 $(call Package
/bluelog
/Default
)
41 define Package
/bluelog
/description
42 $(call Package
/bluelog
/Default
/description
)
45 define Package
/bluelog-live
46 $(call Package
/bluelog
/Default
)
51 define Package
/bluelog-live
/description
52 $(call Package
/bluelog
/Default
/description
)
53 This package contains the bluelog live output files for use with an SSI
57 TARGET_CFLAGS
+= -DOPENWRT
60 LIBS
="$(TARGET_LDFLAGS) -lbluetooth"
62 define Package
/bluelog
/install
63 $(INSTALL_DIR
) $(1)/usr
/bin
64 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/bin
/bluelog
$(1)/usr
/bin
/
65 $(INSTALL_DIR
) $(1)/etc
/init.d
66 $(INSTALL_BIN
) .
/files
/bluelog.init
$(1)/etc
/init.d
/bluelog
69 define Package
/bluelog-live
/install
70 $(INSTALL_DIR
) $(1)/www
71 $(CP
) $(PKG_INSTALL_DIR
)/var
/lib
/bluelog
$(1)/www
/
74 $(eval
$(call BuildPackage
,bluelog
))
75 $(eval
$(call BuildPackage
,bluelog-live
))