diff --git a/package/utils/bluez-tools/Makefile b/package/utils/bluez-tools/Makefile new file mode 100644 index 00000000000..1464a89f9b0 --- /dev/null +++ b/package/utils/bluez-tools/Makefile @@ -0,0 +1,49 @@ +# +# Copyright (C) 2006-2014 OpenWrt.org +# Copyright 2010 Vertical Communications +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +include $(TOPDIR)/rules.mk + +PKG_NAME:=bluez-tools +PKG_VERSION:=0.2.0 +PKG_HASH:=f65321736475429316f07ee94ec0deac8e46ec4a +PKG_RELEASE:=1 + +PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION) +PKG_SOURCE_URL:=https://github.com/khvzak/bluez-tools +PKG_SOURCE_PROTO:=git +PKG_SOURCE_VERSION:=f65321736475429316f07ee94ec0deac8e46ec4a +#0.2.0 +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 +PKG_LICENSE:=BSD + +PKG_INSTALL:=1 + +PKG_FIXUP:=autoreconf + +include $(INCLUDE_DIR)/package.mk + +define Package/bluez-tools + SECTION:=utils + CATEGORY:=Utilities + TITLE:=bluez-tools + DEPENDS:= +bluez-libs +libreadline +glib2 +endef + +define Package/bluez-tools/description + bluez-tools +endef + +define Package/bluez-tools/install + $(INSTALL_DIR) $(1)/usr/bin + $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/bt-network $(1)/usr/bin/ + $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/bt-obex $(1)/usr/bin/ + $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/bt-agent $(1)/usr/bin/ + $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/bt-device $(1)/usr/bin/ + $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/bt-adapter $(1)/usr/bin/ +endef + +$(eval $(call BuildPackage,bluez-tools))