jow 06b6c3212a [packages] lcdproc: depends on libftdi
git-svn-id: svn://svn.openwrt.org/openwrt/packages@32294 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-12 23:47:52 +00:00

62 lines
1.7 KiB
Makefile

#
# 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 +libftdi
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))