63b23835de3dfe231b553487aff6a82846477102
[openwrt/svn-archive/archive.git] / utils / anyremote / Makefile
1 #
2 # Copyright (C) 2008 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 # $Id: $
8
9 include $(TOPDIR)/rules.mk
10
11 PKG_NAME:=anyremote
12 PKG_VERSION:=4.4
13 PKG_RELEASE:=1
14
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
16 PKG_SOURCE_URL:=@SF/${PKG_NAME}
17 PKG_MD5SUM:=a8fce6470c32cc263c3610d92e7b4141
18
19 include $(INCLUDE_DIR)/package.mk
20
21 define Package/anyremote
22 SECTION:=utils
23 CATEGORY:=Utilities
24 TITLE:=A bluetooth remote control app
25 DEPENDS:=+bluez-libs
26 URL:=http://anyremote.sourceforge.net/
27 endef
28
29 define Package/anyremote/description
30 Remote control your machine via bluetooth
31 endef
32
33 define Build/Configure
34 $(call Build/Configure/Default, \
35 --disable-xtest \
36 )
37 endef
38
39 define Package/anyremote/install
40 $(INSTALL_DIR) $(1)/usr/sbin
41 $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/$(PKG_NAME) $(1)/usr/sbin/
42 $(INSTALL_DIR) $(1)/etc
43 $(INSTALL_CONF) ./files/anyremote.cfg $(1)/etc/anyremote.cfg
44 $(INSTALL_DIR) $(1)/etc/init.d
45 $(INSTALL_BIN) ./files/anyremote.init $(1)/etc/init.d/anyremote
46 endef
47
48 $(eval $(call BuildPackage,anyremote))