DESCRIPTION:= is obselete
[openwrt/svn-archive/archive.git] / utils / lcd4linux / Makefile
1 #
2 # Copyright (C) 2006 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 # $Id$
8
9 include $(TOPDIR)/rules.mk
10
11 PKG_NAME:=lcd4linux
12 PKG_VERSION:=0.10.0+cvs20051015
13 PKG_RELEASE:=2
14
15 PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).orig.tar.gz
16 PKG_SOURCE_URL:=http://ftp.debian.org/debian/pool/main/l/lcd4linux/ \
17 http://ftp.de.debian.org/debian/pool/main/l/lcd4linux/
18 PKG_MD5SUM:=5b5ac629be4bb5c29104fb8f6b7fa444
19
20 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION).orig
21
22 include $(INCLUDE_DIR)/package.mk
23
24 define Package/lcd4linux
25 SECTION:=utils
26 CATEGORY:=Utilities
27 DEPENDS:=+libncurses
28 TITLE:=LCD display utility
29 URL:=http://lcd4linux.bulix.org/
30 endef
31
32 define Package/lcd4linux/description
33 LCD4Linux is a small program that grabs information from the kernel and
34 some subsystems and displays it on an external liquid crystal display.
35 endef
36
37 # commas are interpreted by the $(call ...) macro, so define an intermediate variable holding our drivers spec
38 PKG_CONFIGURE_DRIVERS:=all,!PNG,!RouterBoard,!X11
39
40 CONFIGURE_ARGS += \
41 --without-x \
42 --with-drivers="$(PKG_CONFIGURE_DRIVERS)" \
43 --with-plugins=wireless
44
45 define Build/Configure
46 (cd $(PKG_BUILD_DIR); touch \
47 configure.in \
48 aclocal.m4 \
49 Makefile.in \
50 configure \
51 stamp-h.in \
52 config.h.in \
53 );
54 $(call Build/Configure/Default)
55 endef
56
57 define Package/lcd4linux/install
58 $(INSTALL_DIR) $(1)/usr/bin
59 $(INSTALL_BIN) $(PKG_BUILD_DIR)/lcd4linux $(1)/usr/bin/
60 endef
61
62 $(eval $(call BuildPackage,lcd4linux))