2 # Copyright (C) 2008-2013 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:=@SF/${PKG_NAME}
16 PKG_MD5SUM:=130369d8f632127b20de67930386e9ca
18 include $(INCLUDE_DIR)/package.mk
20 define Package/anyremote
23 TITLE:=A bluetooth remote control app
24 DEPENDS:=+bluez-libs +libpthread
25 URL:=http://anyremote.sourceforge.net/
28 define Package/anyremote/description
29 Remote control your machine via bluetooth
32 define Build/Configure
33 $(call Build/Configure/Default, \
34 --disable-xtest --disable-glib --disable-iconv \
38 define Package/anyremote/install
39 $(INSTALL_DIR) $(1)/usr/sbin
40 $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/$(PKG_NAME) $(1)/usr/sbin/
41 $(INSTALL_DIR) $(1)/etc
42 $(INSTALL_CONF) ./files/anyremote.cfg $(1)/etc/anyremote.cfg
43 $(INSTALL_DIR) $(1)/etc/init.d
44 $(INSTALL_BIN) ./files/anyremote.init $(1)/etc/init.d/anyremote
47 define Package/anyremote/conffiles
51 $(eval $(call BuildPackage,anyremote))