OpenWrt packages
Sign in or create your account | Project List | Help
OpenWrt packages Commit Details
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 | ||
8 | include $(TOPDIR)/rules.mk | |
9 | ||
10 | PKG_NAME:=ben-poweroff | |
11 | PKG_VERSION:=20091221 | |
12 | PKG_REV:=f4476cedc2aef66ee5734a3eeeb0828d97dfbf39 | |
13 | PKG_RELEASE:=1 | |
14 | ||
15 | PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz | |
16 | PKG_SOURCE_URL:=git://projects.qi-hardware.com/fn-handle.git | |
17 | PKG_SOURCE_PROTO:=git | |
18 | PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION) | |
19 | PKG_SOURCE_VERSION:=$(PKG_REV) | |
20 | ||
21 | PKG_INSTALL:=1 | |
22 | ||
23 | include $(INCLUDE_DIR)/package.mk | |
24 | ||
25 | define 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:= | |
31 | endef | |
32 | ||
33 | define 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) | |
47 | endef | |
48 | ||
49 | $(eval $(call BuildPackage,ben-poweroff)) |