[packages] add lcdproc - a piece of software that displays real-time system informati...
[openwrt/svn-archive/archive.git] / utils / lcdproc / Makefile
1 #
2 # Copyright (C) 2007 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 include $(TOPDIR)/rules.mk
8
9 PKG_NAME:=lcdproc
10 PKG_VERSION:=0.5.2
11 PKG_RELEASE:=1
12
13 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
14 PKG_SOURCE_URL:=@SF/lcdproc
15 PKG_MD5SUM:=860f192d061d87dda6512b11b79daac2
16
17 include $(INCLUDE_DIR)/package.mk
18
19
20 define Package/lcdproc
21 SECTION:=utils
22 CATEGORY:=Utilities
23 DEPENDS:=+libusb +libncurses
24 TITLE:=LCD Display daemon and client
25 URL:=http://sourceforge.net/projects/lcdproc/
26 endef
27
28 define Package/lcdproc/description
29 LCDProc is a daemon and client for displaying system information on various displays.
30 endef
31
32 define Package/lcdproc/conffiles
33 /etc/LCDd.conf
34 /etc/lcdproc.conf
35 /etc/lcdexec.conf
36 /etc/lcdvc.conf
37 endef
38
39 define Build/Configure
40 $(call Build/Configure/Default,--enable-drivers=all)
41 endef
42
43 define Package/lcdproc/install
44 $(INSTALL_DIR) $(1)/usr/bin
45 $(INSTALL_DIR) $(1)/usr/sbin
46 $(INSTALL_DIR) $(1)/usr/lib/lcdproc
47 $(INSTALL_DIR) $(1)/etc
48 $(INSTALL_DIR) $(1)/etc/init.d
49 $(INSTALL_BIN) $(PKG_BUILD_DIR)/server/LCDd $(1)/usr/sbin/
50 $(INSTALL_BIN) $(PKG_BUILD_DIR)/clients/lcdproc/lcdproc $(1)/usr/bin/
51 $(INSTALL_BIN) $(PKG_BUILD_DIR)/clients/lcdexec/lcdexec $(1)/usr/bin/
52 $(INSTALL_BIN) $(PKG_BUILD_DIR)/clients/lcdvc/lcdvc $(1)/usr/bin/
53 $(INSTALL_BIN) $(PKG_BUILD_DIR)/server/drivers/*.so $(1)/usr/lib/lcdproc/
54 $(INSTALL_CONF) $(PKG_BUILD_DIR)/LCDd.conf $(1)/etc/
55 $(INSTALL_CONF) $(PKG_BUILD_DIR)/clients/lcdproc/lcdproc.conf $(1)/etc/
56 $(INSTALL_CONF) $(PKG_BUILD_DIR)/clients/lcdexec/lcdexec.conf $(1)/etc/
57 $(INSTALL_CONF) $(PKG_BUILD_DIR)/clients/lcdvc/lcdvc.conf $(1)/etc/
58 $(INSTALL_BIN) ./files/* $(1)/etc/init.d
59 endef
60
61 $(eval $(call BuildPackage,lcdproc))