[packages] add lcdproc - a piece of software that displays real-time system information from your Linux/*BSD box on a LCD (#7883)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@22941 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
e139f75cc5
commit
1aa9191f34
61
utils/lcdproc/Makefile
Normal file
61
utils/lcdproc/Makefile
Normal file
@ -0,0 +1,61 @@
|
||||
#
|
||||
# Copyright (C) 2007 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:=lcdproc
|
||||
PKG_VERSION:=0.5.2
|
||||
PKG_RELEASE:=1
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=@SF/lcdproc
|
||||
PKG_MD5SUM:=860f192d061d87dda6512b11b79daac2
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
|
||||
define Package/lcdproc
|
||||
SECTION:=utils
|
||||
CATEGORY:=Utilities
|
||||
DEPENDS:=+libusb +libncurses
|
||||
TITLE:=LCD Display daemon and client
|
||||
URL:=http://sourceforge.net/projects/lcdproc/
|
||||
endef
|
||||
|
||||
define Package/lcdproc/description
|
||||
LCDProc is a daemon and client for displaying system information on various displays.
|
||||
endef
|
||||
|
||||
define Package/lcdproc/conffiles
|
||||
/etc/LCDd.conf
|
||||
/etc/lcdproc.conf
|
||||
/etc/lcdexec.conf
|
||||
/etc/lcdvc.conf
|
||||
endef
|
||||
|
||||
define Build/Configure
|
||||
$(call Build/Configure/Default,--enable-drivers=all)
|
||||
endef
|
||||
|
||||
define Package/lcdproc/install
|
||||
$(INSTALL_DIR) $(1)/usr/bin
|
||||
$(INSTALL_DIR) $(1)/usr/sbin
|
||||
$(INSTALL_DIR) $(1)/usr/lib/lcdproc
|
||||
$(INSTALL_DIR) $(1)/etc
|
||||
$(INSTALL_DIR) $(1)/etc/init.d
|
||||
$(INSTALL_BIN) $(PKG_BUILD_DIR)/server/LCDd $(1)/usr/sbin/
|
||||
$(INSTALL_BIN) $(PKG_BUILD_DIR)/clients/lcdproc/lcdproc $(1)/usr/bin/
|
||||
$(INSTALL_BIN) $(PKG_BUILD_DIR)/clients/lcdexec/lcdexec $(1)/usr/bin/
|
||||
$(INSTALL_BIN) $(PKG_BUILD_DIR)/clients/lcdvc/lcdvc $(1)/usr/bin/
|
||||
$(INSTALL_BIN) $(PKG_BUILD_DIR)/server/drivers/*.so $(1)/usr/lib/lcdproc/
|
||||
$(INSTALL_CONF) $(PKG_BUILD_DIR)/LCDd.conf $(1)/etc/
|
||||
$(INSTALL_CONF) $(PKG_BUILD_DIR)/clients/lcdproc/lcdproc.conf $(1)/etc/
|
||||
$(INSTALL_CONF) $(PKG_BUILD_DIR)/clients/lcdexec/lcdexec.conf $(1)/etc/
|
||||
$(INSTALL_CONF) $(PKG_BUILD_DIR)/clients/lcdvc/lcdvc.conf $(1)/etc/
|
||||
$(INSTALL_BIN) ./files/* $(1)/etc/init.d
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,lcdproc))
|
11
utils/lcdproc/files/LCDd
Executable file
11
utils/lcdproc/files/LCDd
Executable file
@ -0,0 +1,11 @@
|
||||
#!/bin/sh /etc/rc.common
|
||||
|
||||
START=50
|
||||
|
||||
start() {
|
||||
LCDd -c /etc/LCDd.conf
|
||||
}
|
||||
|
||||
stop() {
|
||||
killall LCDd
|
||||
}
|
11
utils/lcdproc/files/lcdexec
Executable file
11
utils/lcdproc/files/lcdexec
Executable file
@ -0,0 +1,11 @@
|
||||
#!/bin/sh /etc/rc.common.
|
||||
|
||||
START=50
|
||||
|
||||
start() {
|
||||
lcdexec -c /etc/lcdexec.conf
|
||||
}
|
||||
|
||||
stop() {
|
||||
killall lcdexec
|
||||
}
|
11
utils/lcdproc/files/lcdproc
Executable file
11
utils/lcdproc/files/lcdproc
Executable file
@ -0,0 +1,11 @@
|
||||
#!/bin/sh /etc/rc.common.
|
||||
|
||||
START=50
|
||||
|
||||
start() {
|
||||
lcdproc -c /etc/lcdproc.conf
|
||||
}
|
||||
|
||||
stop() {
|
||||
killall lcdproc
|
||||
}
|
11
utils/lcdproc/files/lcdvc
Executable file
11
utils/lcdproc/files/lcdvc
Executable file
@ -0,0 +1,11 @@
|
||||
#!/bin/sh /etc/rc.common.
|
||||
|
||||
START=50
|
||||
|
||||
start() {
|
||||
lcdvc -c /etc/lcdvc.conf
|
||||
}
|
||||
|
||||
stop() {
|
||||
killall lcdvc
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user