Date:2009-12-21 21:06:45 (14 years 3 months ago)
Author:Mirko Vogt
Commit:c0f0c2601451e5f6277835904543d16811dc1caa
Message:Revert "add ben-poweroff daemon package"

This reverts commit 9abe774f11c01a6bcc704ce74234f396ccb56967.
Files: ben-poweroff/Makefile (1 diff)

Change Details

ben-poweroff/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:=ben-poweroff
11PKG_VERSION:=20091221
12PKG_REV:=f4476cedc2aef66ee5734a3eeeb0828d97dfbf39
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
21PKG_INSTALL:=1
22
23include $(INCLUDE_DIR)/package.mk
24
25define Package/ben-poweroff
26  SECTION:=utils
27  CATEGORY:=Utilities
28  TITLE:=Ben-Poweroff
29  URL:=http://projects.qi-hardware.com/index.php/p/ben-poweroff/
30  DEPENDS:=
31endef
32
33define Package/ben-poweroff/install
34    $(INSTALL_DIR) $(1)/usr/bin
35    $(INSTALL_DIR) $(1)/etc/init.d
36    $(INSTALL_DIR) $(1)/etc/rc.d
37    $(INSTALL_BIN) \
38        $(PKG_INSTALL_DIR)/usr/bin/ben-poweroff \
39        $(1)/usr/bin/
40    $(INSTALL_BIN) \
41        $(PKG_INSTALL_DIR)/etc/init.d/poweroff-daemon \
42        $(1)/etc/init.d/
43    (cd $(1)/etc/rc.d/; \
44     ln -sf \
45     ../init.d/poweroff-daemon \
46     $(1)/etc/rc.d/S50poweroff-daemon)
47endef
48
49$(eval $(call BuildPackage,ben-poweroff))

Archive Download the corresponding diff file



interactive