Root/fn-handle/Makefile

1#
2# Copyright (C) 2009 OpenWrt.org
3#
4# This is free software, licensed under the GNU General Public License v2.
5# See /LICENSE for more information.
6#
7
8include $(TOPDIR)/rules.mk
9
10PKG_NAME:=fn-handle
11PKG_VERSION:=20100316
12PKG_REV:=acacde7b404a544d214f4ee01231bf0193a7155d
13PKG_RELEASE:=1
14
15PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
16PKG_SOURCE_URL:=git://projects.qi-hardware.com/fn-handle.git
17PKG_SOURCE_PROTO:=git
18PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
19PKG_SOURCE_VERSION:=$(PKG_REV)
20
21include $(INCLUDE_DIR)/package.mk
22
23define Package/fn-handle
24  SECTION:=utils
25  CATEGORY:=Utilities
26  TITLE:=Ben NanoNote PowerOff Daemon
27  URL:=http://projects.qi-hardware.com/index.php/f/fn-handle/
28endef
29
30define Build/Configure
31endef
32
33define Package/fn-handle/install
34    $(INSTALL_DIR) \
35        $(1)/etc/init.d \
36        $(1)/usr/bin
37
38    $(INSTALL_BIN) \
39        $(PKG_BUILD_DIR)/fnkeys \
40        $(1)/usr/bin/
41
42    $(INSTALL_BIN) \
43        ./files/$(PKG_NAME).init \
44        $(1)/etc/init.d/$(PKG_NAME)
45endef
46
47$(eval $(call BuildPackage,fn-handle))
48

Archive Download this file



interactive