1
0
mirror of git://projects.qi-hardware.com/openwrt-packages.git synced 2024-11-29 14:07:12 +02:00

Revert "add ben-poweroff daemon package"

This reverts commit 9abe774f11.
This commit is contained in:
Mirko Vogt 2009-12-21 21:06:45 +01:00
parent a3f1786e28
commit c0f0c26014

View File

@ -1,49 +0,0 @@
#
# Copyright (C) 2009 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=ben-poweroff
PKG_VERSION:=20091221
PKG_REV:=f4476cedc2aef66ee5734a3eeeb0828d97dfbf39
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=git://projects.qi-hardware.com/fn-handle.git
PKG_SOURCE_PROTO:=git
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE_VERSION:=$(PKG_REV)
PKG_INSTALL:=1
include $(INCLUDE_DIR)/package.mk
define Package/ben-poweroff
SECTION:=utils
CATEGORY:=Utilities
TITLE:=Ben-Poweroff
URL:=http://projects.qi-hardware.com/index.php/p/ben-poweroff/
DEPENDS:=
endef
define Package/ben-poweroff/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_DIR) $(1)/etc/init.d
$(INSTALL_DIR) $(1)/etc/rc.d
$(INSTALL_BIN) \
$(PKG_INSTALL_DIR)/usr/bin/ben-poweroff \
$(1)/usr/bin/
$(INSTALL_BIN) \
$(PKG_INSTALL_DIR)/etc/init.d/poweroff-daemon \
$(1)/etc/init.d/
(cd $(1)/etc/rc.d/; \
ln -sf \
../init.d/poweroff-daemon \
$(1)/etc/rc.d/S50poweroff-daemon)
endef
$(eval $(call BuildPackage,ben-poweroff))