# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-misc/lcdproc/lcdproc-0.5.1-r3.ebuild,v 1.2 2007/03/20 23:46:40 rbu Exp $ WANT_AUTOCONF="latest" WANT_AUTOMAKE="latest" inherit eutils autotools multilib DESCRIPTION="Client/Server suite to drive all kinds of LCD (-like) devices" HOMEPAGE="http://lcdproc.org/" SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86" IUSE="doc debug ldap nfs samba seamless-hbars usb lirc irman joystick" # The following array holds the USE_EXPANDed keywords IUSE_LCD_DEVICES=(ncurses bayrad cfontz cfontz633 cfontzpacket cwlinux eyeboxone g15 graphlcd glk hd44780 icpa106 imon iowarrior lb216 lcdm001 lcterm md8800 ms6931 mtcs16209x mtxorb noritakevfd pyramid sed1330 sed1520 serialvfd sli stv5730 svga t6963 text tyan ula200 xosd) # Iterate through the array and add the lcd_devices_* that we support NUM_DEVICES=${#IUSE_LCD_DEVICES[@]} index=0 while [ "${index}" -lt "${NUM_DEVICES}" ] ; do IUSE="${IUSE} lcd_devices_${IUSE_LCD_DEVICES[${index}]}" let "index = ${index} + 1" done RDEPEND=" ldap? ( net-nds/openldap ) usb? ( dev-libs/libusb ) lirc? ( app-misc/lirc ) irman? ( media-libs/libirman ) lcd_devices_graphlcd? ( app-misc/graphlcd-base app-misc/glcdprocdriver ) lcd_devices_g15? ( dev-libs/libg15 >=dev-libs/libg15render-1.1.1 ) lcd_devices_ncurses? ( sys-libs/ncurses ) lcd_devices_svga? ( media-libs/svgalib ) lcd_devices_ula200? ( dev-embedded/libftdi dev-libs/libusb ) lcd_devices_xosd? ( x11-libs/xosd x11-libs/libX11 x11-libs/libXext ) lcd_devices_cfontzpacket? ( dev-libs/libusb ) lcd_devices_cwlinux? ( dev-libs/libusb ) lcd_devices_pyramid? ( dev-libs/libusb )" DEPEND="${RDEPEND} doc? ( app-text/xmlto )" RDEPEND="${RDEPEND} lcd_devices_g15? (