packages: add missing conffiles define
[openwrt/svn-archive/archive.git] / utils / anyremote / Makefile
1 #
2 # Copyright (C) 2008-2011 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=anyremote
11 PKG_VERSION:=4.7.1
12 PKG_RELEASE:=3
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=@SF/${PKG_NAME}
16 PKG_MD5SUM:=bd177156faa8a59a5d3e02cada243fc3
17
18 include $(INCLUDE_DIR)/package.mk
19
20 define Package/anyremote
21 SECTION:=utils
22 CATEGORY:=Utilities
23 TITLE:=A bluetooth remote control app
24 DEPENDS:=+bluez-libs
25 URL:=http://anyremote.sourceforge.net/
26 endef
27
28 define Package/anyremote/description
29 Remote control your machine via bluetooth
30 endef
31
32 define Build/Configure
33 $(call Build/Configure/Default, \
34 --disable-xtest \
35 )
36 endef
37
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
45 endef
46
47 define Package/anyremote/conffiles
48 /etc/anyremote.cfg
49 endef
50
51 $(eval $(call BuildPackage,anyremote))