2006-07-30 18:00:35 +00:00
|
|
|
#
|
|
|
|
# Copyright (C) 2006 OpenWrt.org
|
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
2006-07-30 17:22:04 +00:00
|
|
|
# $Id$
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=lcd4linux
|
|
|
|
PKG_VERSION:=0.10.0+cvs20051015
|
|
|
|
PKG_RELEASE:=1
|
|
|
|
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).orig.tar.gz
|
|
|
|
PKG_SOURCE_URL:=http://ftp.debian.org/debian/pool/main/l/lcd4linux/ \
|
|
|
|
http://ftp.de.debian.org/debian/pool/main/l/lcd4linux/
|
|
|
|
PKG_MD5SUM:=5b5ac629be4bb5c29104fb8f6b7fa444
|
|
|
|
PKG_CAT:=zcat
|
|
|
|
|
2006-10-28 22:43:08 +00:00
|
|
|
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION).orig
|
|
|
|
|
2006-07-30 17:22:04 +00:00
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
|
|
|
define Package/lcd4linux
|
|
|
|
SECTION:=utils
|
|
|
|
CATEGORY:=Utilities
|
|
|
|
DEPENDS:=+libncurses
|
|
|
|
TITLE:=LCD display utility
|
2006-10-28 22:43:08 +00:00
|
|
|
DESCRIPTION:=\
|
|
|
|
LCD4Linux is a small program that grabs information from the kernel and \\\
|
|
|
|
some subsystems and displays it on an external liquid crystal display.
|
2006-07-30 17:22:04 +00:00
|
|
|
URL:=http://lcd4linux.bulix.org/
|
|
|
|
endef
|
|
|
|
|
2006-10-28 22:43:08 +00:00
|
|
|
# commas are interpreted by the $(call ...) macro, so define a intermediate variable holding our drivers spec
|
|
|
|
PKG_CONFIGURE_DRIVERS:=all,!PNG,!RouterBoard,!X11
|
|
|
|
|
2006-07-30 17:22:04 +00:00
|
|
|
define Build/Configure
|
2006-10-28 22:43:08 +00:00
|
|
|
$(call Build/Configure/Default, \
|
|
|
|
--without-x \
|
|
|
|
--with-drivers="$(PKG_CONFIGURE_DRIVERS)" \
|
|
|
|
--with-plugins=wireless \
|
|
|
|
)
|
2006-07-30 17:22:04 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Build/Compile
|
2006-10-28 22:43:08 +00:00
|
|
|
$(MAKE) -C $(PKG_BUILD_DIR)
|
2006-07-30 17:22:04 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/lcd4linux/install
|
2006-11-23 00:29:07 +00:00
|
|
|
$(INSTALL_DIR) $(1)/usr/bin
|
|
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/lcd4linux $(1)/usr/bin/
|
2006-07-30 17:22:04 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,lcd4linux))
|