diff options
author | 2003-09-21 17:37:57 +0000 | |
---|---|---|
committer | 2003-09-21 17:37:57 +0000 | |
commit | 1b2c7c2a575c878b6d7dcc75188681e572c07543 (patch) | |
tree | 55733c09b523703564da8876bfa17daf05c5cb55 /app-misc/lcd4linux/lcd4linux-0.9.9.ebuild | |
parent | Version bumped. (diff) | |
download | gentoo-2-1b2c7c2a575c878b6d7dcc75188681e572c07543.tar.gz gentoo-2-1b2c7c2a575c878b6d7dcc75188681e572c07543.tar.bz2 gentoo-2-1b2c7c2a575c878b6d7dcc75188681e572c07543.zip |
Version bumped.
Diffstat (limited to 'app-misc/lcd4linux/lcd4linux-0.9.9.ebuild')
-rw-r--r-- | app-misc/lcd4linux/lcd4linux-0.9.9.ebuild | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/app-misc/lcd4linux/lcd4linux-0.9.9.ebuild b/app-misc/lcd4linux/lcd4linux-0.9.9.ebuild new file mode 100644 index 000000000000..dd5b232a0159 --- /dev/null +++ b/app-misc/lcd4linux/lcd4linux-0.9.9.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/lcd4linux/lcd4linux-0.9.9.ebuild,v 1.1 2003/09/21 17:37:52 mholzer Exp $ + +DESCRIPTION="system and ISDN information is shown on an external display or in a X11 window." +SRC_URI="mirror://sourceforge/lcd4linux/${P}.tar.gz" +HOMEPAGE="http://lcd4linux.sourceforge.net/" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~x86" +IUSE="kde pda png X usb" + +DEPEND="png? ( media-libs/libpng + sys-libs/zlib + media-libs/libgd )" + +src_compile() { + local myconf + + use png || myconf=",!PNG" + use pda || myconf="${myconf},!PalmPilot" + use X || myconf="${myconf},!X11" + use usb || myconf="${myconf},!USBLCD" + + econf \ + --sysconfdir=/etc/lcd4linux \ + --with-drivers="all${myconf},!PNG" + + emake || die +} + +src_install() { + einstall + + insinto /etc/lcd4linux + cp lcd4linux.conf.sample lcd4linux.conf + insopts -o root -g root -m 0600 + doins lcd4linux.conf + dodoc README* NEWS COPYING INSTALL TODO CREDITS FAQ + dodoc lcd4linux.conf.sample lcd4linux.kdelnk lcd4linux.xpm + + if [ `use kde` ] ; then + insinto /etc/lcd4linux + insopts -o root -g root -m 0600 + doins lcd4kde.conf + insinto ${KDEDIR}/share/applnk/apps/System + doins lcd4linux.kdelnk + insinto ${KDEDIR}/share/icons + doins lcd4linux.xpm + touch ${D}/etc/lcd4linux/lcd4X11.conf + fi +} |