2 # Copyright (C) 2007 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
7 include $(TOPDIR
)/rules.mk
13 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
14 PKG_SOURCE_URL
:=@SF
/lcdproc
15 PKG_MD5SUM
:=860f192d061d87dda6512b11b79daac2
17 include $(INCLUDE_DIR
)/package.mk
20 define Package
/lcdproc
23 DEPENDS
:=+libusb
+libncurses
24 TITLE
:=LCD Display daemon and client
25 URL
:=http
://sourceforge.net
/projects
/lcdproc
/
28 define Package
/lcdproc
/description
29 LCDProc is a daemon and client for displaying system information on various displays.
32 define Package
/lcdproc
/conffiles
39 define Build
/Configure
40 $(call Build
/Configure
/Default
,--enable-drivers
=all)
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
61 $(eval
$(call BuildPackage
,lcdproc
))