summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-misc/lcd4linux/lcd4linux-0.9.11.ebuild')
-rw-r--r--app-misc/lcd4linux/lcd4linux-0.9.11.ebuild26
1 files changed, 20 insertions, 6 deletions
diff --git a/app-misc/lcd4linux/lcd4linux-0.9.11.ebuild b/app-misc/lcd4linux/lcd4linux-0.9.11.ebuild
index f8c2c477b652..d668f6ad43d0 100644
--- a/app-misc/lcd4linux/lcd4linux-0.9.11.ebuild
+++ b/app-misc/lcd4linux/lcd4linux-0.9.11.ebuild
@@ -1,6 +1,10 @@
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/lcd4linux/lcd4linux-0.9.11.ebuild,v 1.9 2005/01/25 15:27:45 greg_g Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/lcd4linux/lcd4linux-0.9.11.ebuild,v 1.10 2006/10/24 07:20:46 jokey Exp $
+
+WANT_AUTOCONF="latest"
+WANT_AUTOMAKE="latest"
+inherit eutils autotools
DESCRIPTION="system and ISDN information is shown on an external display or in a X11 window"
HOMEPAGE="http://lcd4linux.sourceforge.net/"
@@ -11,9 +15,19 @@ SLOT="0"
KEYWORDS="x86"
IUSE="kde pda png X usb"
-DEPEND="png? ( media-libs/libpng
- sys-libs/zlib
- media-libs/gd )"
+RDEPEND="sys-libs/ncurses
+ x11-libs/libX11
+ png? ( media-libs/libpng )"
+DEPEND="${RDEPEND}
+ x11-libs/libXt"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ epatch "${FILESDIR}/${P}-modular-x.patch"
+ eautoreconf
+}
src_compile() {
local myconf
@@ -38,7 +52,7 @@ src_install() {
cp lcd4linux.conf.sample lcd4linux.conf
insopts -o root -g root -m 0600
doins lcd4linux.conf
- dodoc README* NEWS INSTALL TODO CREDITS FAQ
+ dodoc README* NEWS TODO CREDITS FAQ
dodoc lcd4linux.conf.sample lcd4linux.kdelnk lcd4linux.xpm
if use kde ; then