summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Buchholz <rbu@gentoo.org>2006-10-23 00:29:35 +0000
committerRobert Buchholz <rbu@gentoo.org>2006-10-23 00:29:35 +0000
commit1b189f8779b572a4fa132701ca48ac5315c15406 (patch)
tree860248d29a102627491994708c9d8a6ab2f41256 /app-misc
parentImprovements proposed by mcummings. (diff)
downloadjokey-1b189f8779b572a4fa132701ca48ac5315c15406.tar.gz
jokey-1b189f8779b572a4fa132701ca48ac5315c15406.tar.bz2
jokey-1b189f8779b572a4fa132701ca48ac5315c15406.zip
checkin of original portage version
svn path=/trunk/; revision=48
Diffstat (limited to 'app-misc')
-rw-r--r--app-misc/lcd4linux/ChangeLog75
-rw-r--r--app-misc/lcd4linux/Manifest37
-rw-r--r--app-misc/lcd4linux/files/digest-lcd4linux-0.10.03
-rw-r--r--app-misc/lcd4linux/files/digest-lcd4linux-0.9.102
-rw-r--r--app-misc/lcd4linux/files/digest-lcd4linux-0.9.111
-rw-r--r--app-misc/lcd4linux/files/digest-lcd4linux-0.9.91
-rw-r--r--app-misc/lcd4linux/lcd4linux-0.10.0.ebuild108
-rw-r--r--app-misc/lcd4linux/lcd4linux-0.9.10.ebuild62
-rw-r--r--app-misc/lcd4linux/lcd4linux-0.9.11.ebuild55
-rw-r--r--app-misc/lcd4linux/lcd4linux-0.9.9.ebuild54
10 files changed, 398 insertions, 0 deletions
diff --git a/app-misc/lcd4linux/ChangeLog b/app-misc/lcd4linux/ChangeLog
new file mode 100644
index 0000000..229c131
--- /dev/null
+++ b/app-misc/lcd4linux/ChangeLog
@@ -0,0 +1,75 @@
+# ChangeLog for app-misc/lcd4linux
+# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/lcd4linux/ChangeLog,v 1.15 2006/05/25 09:18:43 robbat2 Exp $
+
+*lcd4linux-0.10.0 (25 May 2006)
+
+ 25 May 2006; Robin H. Johnson <robbat2@gentoo.org>
+ +lcd4linux-0.10.0.ebuild:
+ Major ebuild revamp, partly based on submission in bug #100976.
+
+ 01 Jun 2004; Aron Griffis <agriffis@gentoo.org> lcd4linux-0.9.11.ebuild,
+ lcd4linux-0.9.9.ebuild:
+ Fix use invocation
+
+ 25 Apr 2004; Aron Griffis <agriffis@gentoo.org> lcd4linux-0.9.11.ebuild,
+ lcd4linux-0.9.9.ebuild:
+ Add die following econf for bug 48950
+
+ 01 Mar 2004; Martin Holzer <mholzer@gentoo.org> lcd4linux-0.9.11.ebuild:
+ x86 stable and png issue.
+
+*lcd4linux-0.9.11 (18 Jan 2004)
+
+ 18 Jan 2004; Martin Holzer <mholzer@gentoo.org> lcd4linux-0.9.11.ebuild:
+ Version bumped.
+
+*lcd4linux-0.9.11 (18 Jan 2004)
+
+ 18 Jan 2004; Martin Holzer <mholzer@gentoo.org> lcd4linux-0.9.11.ebuild:
+ Version bumped.
+
+ 18 Jan 2004; Martin Holzer <mholzer@gentoo.org> lcd4linux-0.9.10.ebuild,
+ lcd4linux-0.9.9.ebuild:
+ adding RESTRICT=nomirror and CONFIG_PROTECT
+
+*lcd4linux-0.9.10 (26 Sep 2003)
+
+ 26 Sep 2003; Martin Holzer <mholzer@gentoo.org> lcd4linux-0.9.10.ebuild:
+ Version bumped.
+
+*lcd4linux-0.9.9 (22 Sep 2003)
+
+ 22 Sep 2003; Martin Holzer <mholzer@gentoo.org> lcd4linux-0.9.9.ebuild:
+ Version bumped.
+
+*lcd4linux-0.98-r2 (27 May 2002)
+
+ 19 Oct 2002; Daniel Ahlberg <aliz@gentoo.org> lcd4linux-0.98-r2.ebuild :
+ Updated to mirror://sourceforge in SRC_URI.
+
+ 27 May 2002; Seemant Kulleen <seemant@gentoo.org> lcd4linux-0.98-r2.ebuild
+ files/digest-lcd4linux-0.98-r2 :
+
+ I goofed on the touch thing. Thanks to Francisco Gimeno
+ <kikov@fco-gimeno.com> in bug #2390 for the fix.
+
+*lcd4linux-0.98-r1 (20 May 2002)
+
+ 19 Oct 2002; Daniel Ahlberg <aliz@gentoo.org> lcd4linux-0.98-r1.ebuild :
+ Updated to mirror://sourceforge in SRC_URI.
+
+ 20 May 2002; Seemant Kulleen <seemant@gentoo.org> lcd4linux-0.98-r1.ebuild
+ files/digest-lcd4linux-0.98-r1 :
+
+ Made PalmPilot support and PNG support USE dependent
+
+*lcd4linux-0.98 (1 Feb 2002)
+
+ 1 Feb 2002; G.Bevin <gbevin@gentoo.org> ChangeLog :
+
+ Added initial ChangeLog which should be updated whenever the package is
+ updated in any way. This changelog is targetted to users. This means that the
+ comments should well explained and written in clean English. The details about
+ writing correct changelogs are explained in the skel.ChangeLog file which you
+ can find in the root directory of the portage repository.
diff --git a/app-misc/lcd4linux/Manifest b/app-misc/lcd4linux/Manifest
new file mode 100644
index 0000000..e6c3056
--- /dev/null
+++ b/app-misc/lcd4linux/Manifest
@@ -0,0 +1,37 @@
+DIST lcd4linux-0.10.0.tar.gz 294851 RMD160 98f810297de3d746d559998516b83a2939fc8568 SHA1 325d8549c83bb62e31492285001a1007d1f9960b SHA256 0b880d4baf612e5689d3b97d7c699df864cdb690b354eadd2a3d4e341511e909
+DIST lcd4linux-0.9.10-cf634.diff 374
+DIST lcd4linux-0.9.10.tar.gz 168125
+DIST lcd4linux-0.9.11.tar.gz 218557
+DIST lcd4linux-0.9.9.tar.gz 161096
+EBUILD lcd4linux-0.10.0.ebuild 2787 RMD160 a7d404764a9508d6115e8bd07bec74217e8cc92e SHA1 c4a74d81cceaa6f445d8c4723fa08a1f7b26f3fa SHA256 c2d09c83b0419f7f2490f596b40e98d338518f493773c64b93edb8102954e84d
+MD5 b076982a618670f10339085615f0e946 lcd4linux-0.10.0.ebuild 2787
+RMD160 a7d404764a9508d6115e8bd07bec74217e8cc92e lcd4linux-0.10.0.ebuild 2787
+SHA256 c2d09c83b0419f7f2490f596b40e98d338518f493773c64b93edb8102954e84d lcd4linux-0.10.0.ebuild 2787
+EBUILD lcd4linux-0.9.10.ebuild 1547 RMD160 87a4112ab69308183347c282b59c34dcb133727c SHA1 73d857a9120d54ecd205fced7c352b576aebf7c0 SHA256 1514fdd8a21611bd52a961c60cdfd3fa644752bbc9cb5fb600b5d7c0e5462cd4
+MD5 71f3012032f36f614511846ef6539074 lcd4linux-0.9.10.ebuild 1547
+RMD160 87a4112ab69308183347c282b59c34dcb133727c lcd4linux-0.9.10.ebuild 1547
+SHA256 1514fdd8a21611bd52a961c60cdfd3fa644752bbc9cb5fb600b5d7c0e5462cd4 lcd4linux-0.9.10.ebuild 1547
+EBUILD lcd4linux-0.9.11.ebuild 1402 RMD160 78ec3d3ef0756b67aaeb50d63584a00c2305cd91 SHA1 ea0b66569f5944f20e5d7018cdd761fd51b6fd22 SHA256 bb8f5b110080e3a67b251b62e40264388693abd229ab3a2c4f6dd6910fd3b77c
+MD5 386afb21661b822231db0bdc4a303800 lcd4linux-0.9.11.ebuild 1402
+RMD160 78ec3d3ef0756b67aaeb50d63584a00c2305cd91 lcd4linux-0.9.11.ebuild 1402
+SHA256 bb8f5b110080e3a67b251b62e40264388693abd229ab3a2c4f6dd6910fd3b77c lcd4linux-0.9.11.ebuild 1402
+EBUILD lcd4linux-0.9.9.ebuild 1407 RMD160 39b58d39306e3e0b03d3d8a1b6863835373fc244 SHA1 657b152394e88f2c56eb7285704841361fe262ea SHA256 839a9bca35e8f5bfcb09ce41b415de268ba8db2cac4eb653484a5c8f16c06710
+MD5 c9a19619c50adf559e95c14556c13a40 lcd4linux-0.9.9.ebuild 1407
+RMD160 39b58d39306e3e0b03d3d8a1b6863835373fc244 lcd4linux-0.9.9.ebuild 1407
+SHA256 839a9bca35e8f5bfcb09ce41b415de268ba8db2cac4eb653484a5c8f16c06710 lcd4linux-0.9.9.ebuild 1407
+MISC ChangeLog 2582 RMD160 40c368fdc64459214757c76ae4b627ef77e256ff SHA1 3948ea0689f1711eca3b9b64958ad3e9ff6683b7 SHA256 8f8ba70415337ea307cade19b8badb969c316709af51b20422eaf1978fdad837
+MD5 bd8bab01ed9bab10ef05174299a5eac6 ChangeLog 2582
+RMD160 40c368fdc64459214757c76ae4b627ef77e256ff ChangeLog 2582
+SHA256 8f8ba70415337ea307cade19b8badb969c316709af51b20422eaf1978fdad837 ChangeLog 2582
+MD5 0b746369033d8d0fffea2ec67f83ad4e files/digest-lcd4linux-0.10.0 250
+RMD160 018c8b34815a32a9902122a5e67b6acbc2e3e41a files/digest-lcd4linux-0.10.0 250
+SHA256 4c83e624811751fc7f8241bb9f0a7b904460fa18841ebce93b464c7858988afd files/digest-lcd4linux-0.10.0 250
+MD5 f197056607042f185af2a6d50a35d996 files/digest-lcd4linux-0.9.10 137
+RMD160 651ca3e12c2879ee943e6c702257bb533b2b3bdb files/digest-lcd4linux-0.9.10 137
+SHA256 ecdaf5ae619f4e161f67b582444f1184a5f651fdcc730c65029191ac49bce770 files/digest-lcd4linux-0.9.10 137
+MD5 4c2c84ffe062afa20fb8f4ac16c4b4db files/digest-lcd4linux-0.9.11 68
+RMD160 10b19651a771ede7502219f8064a28b08b1e7575 files/digest-lcd4linux-0.9.11 68
+SHA256 d93ae146107bc783b115c7831da4bd7363e97c0d696460720d27a6810bbfb4be files/digest-lcd4linux-0.9.11 68
+MD5 5ed6638feaed61ef4b7f35f2c7c7f5c8 files/digest-lcd4linux-0.9.9 67
+RMD160 28cd30c24b6fb346c559d4a8896069be96845bfb files/digest-lcd4linux-0.9.9 67
+SHA256 7038839d95c7e4ad20d18e4f0e5d7dfb56259a1db1ca663bcae5d49a382bb955 files/digest-lcd4linux-0.9.9 67
diff --git a/app-misc/lcd4linux/files/digest-lcd4linux-0.10.0 b/app-misc/lcd4linux/files/digest-lcd4linux-0.10.0
new file mode 100644
index 0000000..de6c25a
--- /dev/null
+++ b/app-misc/lcd4linux/files/digest-lcd4linux-0.10.0
@@ -0,0 +1,3 @@
+MD5 b7fb1c24b940482cd730cf212d1b5062 lcd4linux-0.10.0.tar.gz 294851
+RMD160 98f810297de3d746d559998516b83a2939fc8568 lcd4linux-0.10.0.tar.gz 294851
+SHA256 0b880d4baf612e5689d3b97d7c699df864cdb690b354eadd2a3d4e341511e909 lcd4linux-0.10.0.tar.gz 294851
diff --git a/app-misc/lcd4linux/files/digest-lcd4linux-0.9.10 b/app-misc/lcd4linux/files/digest-lcd4linux-0.9.10
new file mode 100644
index 0000000..b1e5eb8
--- /dev/null
+++ b/app-misc/lcd4linux/files/digest-lcd4linux-0.9.10
@@ -0,0 +1,2 @@
+MD5 1de6c447d0268af5b02735dfb403f114 lcd4linux-0.9.10.tar.gz 168125
+MD5 61cfc4ef1ee94fe25085d32e004132de lcd4linux-0.9.10-cf634.diff 374
diff --git a/app-misc/lcd4linux/files/digest-lcd4linux-0.9.11 b/app-misc/lcd4linux/files/digest-lcd4linux-0.9.11
new file mode 100644
index 0000000..4ceef78
--- /dev/null
+++ b/app-misc/lcd4linux/files/digest-lcd4linux-0.9.11
@@ -0,0 +1 @@
+MD5 fabbc58e9118570c1f57ae90743e4859 lcd4linux-0.9.11.tar.gz 218557
diff --git a/app-misc/lcd4linux/files/digest-lcd4linux-0.9.9 b/app-misc/lcd4linux/files/digest-lcd4linux-0.9.9
new file mode 100644
index 0000000..b2d30ca
--- /dev/null
+++ b/app-misc/lcd4linux/files/digest-lcd4linux-0.9.9
@@ -0,0 +1 @@
+MD5 c18b11d2bcfe7f096bf62c5ebf25b543 lcd4linux-0.9.9.tar.gz 161096
diff --git a/app-misc/lcd4linux/lcd4linux-0.10.0.ebuild b/app-misc/lcd4linux/lcd4linux-0.10.0.ebuild
new file mode 100644
index 0000000..5940133
--- /dev/null
+++ b/app-misc/lcd4linux/lcd4linux-0.10.0.ebuild
@@ -0,0 +1,108 @@
+# 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.10.0.ebuild,v 1.1 2006/05/25 09:18:43 robbat2 Exp $
+
+#inherit eutils
+
+DESCRIPTION="system and ISDN information is shown on an external display or in a X11 window"
+HOMEPAGE="http://ssl.bulix.org/projects/lcd4linux/"
+SRC_URI="mirror://sourceforge/lcd4linux/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+# contains x86 asm, upstream is working on a portable version
+KEYWORDS="-* ~x86"
+IUSE="kde png X usb mysql python"
+
+DEPEND="png? ( media-libs/libpng
+ media-libs/gd )
+ X? ( x11-libs/libX11 )
+ usb? ( dev-libs/libusb )
+ mysql? ( dev-db/mysql )"
+# python? ( dev-lang/python )
+# mpd is needed soon
+# python is broken
+
+pkg_preinst() {
+ einfo "If you wish to compile only specific drivers or plugins, please use"
+ einfo "the LCD4LINUX_PLUGINS and LCD4LINUX_DRIVERS environment variables."
+}
+
+src_compile() {
+ local myconf myp myd
+
+ # need to grab upstream's *.m4 and fix python building
+ # they didn't have python properly set up originally.
+ #myconf="${myconf} $(use_with python)"
+ myconf="${myconf} --without-python"
+
+ # plugins
+ if [ -n "$LCD4LINUX_PLUGINS" ]; then
+ myp="$LCD4LINUX_PLUGINS"
+ einfo "Active plugins (overridden): ${myp}"
+ else
+ myp="all"
+ use mysql || myp="${myp},!mysql"
+ #use python || myp="${myp},!python"
+ myp="${myp},!python"
+ einfo "Active plugins: ${myp}"
+ fi
+
+ # drivers
+ if [ -n "$LCD4LINUX_DRIVERS" ]; then
+ myd="$LCD4LINUX_DRIVERS"
+ einfo "Active drivers (overridden): ${myd}"
+ else
+ myd="all"
+ use usb || myd="${myd},!USBLCD"
+ use png || myd="${myd},!PNG"
+ use X || myd="${myd},!X11"
+ einfo "Active drivers: ${myd}"
+ fi
+
+ # avoid package brokenness
+ use X && myconf="${myconf} --x-libraries=/usr/lib --x-include=/usr/include"
+ use X || myconf="${myconf} --without-x"
+
+ econf \
+ --sysconfdir=/etc/lcd4linux \
+ --with-drivers="${myd}" \
+ --with-plugins="${myp}" \
+ ${myconf} \
+ || die "econf failed"
+
+ sed -i.orig -e 's,-L -lX11, -lX11 ,g' Makefile || die "sed fixup failed"
+
+ emake || die
+}
+
+src_install() {
+ # upstream's makefile acts weird, and tries to recompile stuff
+ into /usr
+ dobin lcd4linux
+
+ dodoc README* NEWS TODO CREDITS FAQ AUTHORS ChangeLog
+
+ #newconfd ${FILESDIR}/${PN}.confd ${PN}
+ #newinitd ${FILESDIR}/${PN}.initd ${PN}
+
+ dodir /etc/lcd4linux
+
+ if use X || use kde; then
+ insinto /usr/share/pixmaps
+ doins lcd4linux.xpm
+ fi
+ use X && touch ${D}/etc/lcd4linux/lcd4X11.conf
+
+ if use kde ; then
+ insinto /usr/share/applnk/apps/System
+ doins lcd4linux.kdelnk
+ insinto /etc/lcd4linux
+ insopts -o root -g root -m 0600
+ doins lcd4kde.conf
+ fi
+
+ insinto /etc/lcd4linux
+ insopts -o root -g root -m 0600
+ newins lcd4linux.conf.sample lcd4linux.conf
+}
diff --git a/app-misc/lcd4linux/lcd4linux-0.9.10.ebuild b/app-misc/lcd4linux/lcd4linux-0.9.10.ebuild
new file mode 100644
index 0000000..3e0b824
--- /dev/null
+++ b/app-misc/lcd4linux/lcd4linux-0.9.10.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/lcd4linux/lcd4linux-0.9.10.ebuild,v 1.8 2005/01/25 15:27:45 greg_g Exp $
+
+inherit eutils
+
+DESCRIPTION="system and ISDN information is shown on an external display or in a X11 window"
+HOMEPAGE="http://lcd4linux.sourceforge.net/"
+SRC_URI="mirror://sourceforge/lcd4linux/${P}.tar.gz
+ http://branched.modestolan.com/${P}-cf634.diff"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86"
+IUSE="kde pda png X usb"
+
+DEPEND="png? ( media-libs/libpng
+ sys-libs/zlib
+ media-libs/gd )"
+
+src_unpack() {
+ unpack ${P}.tar.gz
+ cd ${S}
+ epatch ${DISTDIR}/${P}-cf634.diff
+}
+
+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" \
+ || die
+
+ emake || die
+}
+
+src_install() {
+ CONFIG_PROTECT="${CONFIG_PROTECT} /etc/lcd4linux"
+ einstall || die
+
+ insinto /etc/lcd4linux
+ cp lcd4linux.conf.sample lcd4linux.conf
+ insopts -o root -g root -m 0600
+ doins lcd4linux.conf
+ dodoc README* NEWS 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 /usr/share/applnk/apps/System
+ doins lcd4linux.kdelnk
+ insinto /usr/share/pixmaps
+ doins lcd4linux.xpm
+ touch ${D}/etc/lcd4linux/lcd4X11.conf
+ fi
+}
diff --git a/app-misc/lcd4linux/lcd4linux-0.9.11.ebuild b/app-misc/lcd4linux/lcd4linux-0.9.11.ebuild
new file mode 100644
index 0000000..73d9341
--- /dev/null
+++ b/app-misc/lcd4linux/lcd4linux-0.9.11.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2005 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 $
+
+
+DESCRIPTION="system and ISDN information is shown on an external display or in a X11 window"
+HOMEPAGE="http://lcd4linux.sourceforge.net/"
+SRC_URI="mirror://sourceforge/lcd4linux/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86"
+IUSE="kde pda png X usb"
+
+DEPEND="png? ( media-libs/libpng
+ sys-libs/zlib
+ media-libs/gd )"
+
+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}" || die "econf failed"
+
+ emake || die
+}
+
+src_install() {
+ CONFIG_PROTECT="${CONFIG_PROTECT} /etc/lcd4linux"
+ einstall
+
+ insinto /etc/lcd4linux
+ cp lcd4linux.conf.sample lcd4linux.conf
+ insopts -o root -g root -m 0600
+ doins lcd4linux.conf
+ dodoc README* NEWS 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 /usr/share/applnk/apps/System
+ doins lcd4linux.kdelnk
+ insinto /usr/share/pixmaps
+ doins lcd4linux.xpm
+ touch ${D}/etc/lcd4linux/lcd4X11.conf
+ fi
+}
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 0000000..b768ce7
--- /dev/null
+++ b/app-misc/lcd4linux/lcd4linux-0.9.9.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2005 Gentoo Foundation
+# 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.11 2005/01/25 15:27:45 greg_g Exp $
+
+DESCRIPTION="system and ISDN information is shown on an external display or in a X11 window"
+HOMEPAGE="http://lcd4linux.sourceforge.net/"
+SRC_URI="mirror://sourceforge/lcd4linux/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86"
+IUSE="kde pda png X usb"
+
+DEPEND="png? ( media-libs/libpng
+ sys-libs/zlib
+ media-libs/gd )"
+
+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" || die "econf failed"
+
+ emake || die
+}
+
+src_install() {
+ CONFIG_PROTECT="${CONFIG_PROTECT} /etc/lcd4linux"
+ einstall
+
+ insinto /etc/lcd4linux
+ cp lcd4linux.conf.sample lcd4linux.conf
+ insopts -o root -g root -m 0600
+ doins lcd4linux.conf
+ dodoc README* NEWS 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 /usr/share/applnk/apps/System
+ doins lcd4linux.kdelnk
+ insinto /usr/share/pixmaps
+ doins lcd4linux.xpm
+ touch ${D}/etc/lcd4linux/lcd4X11.conf
+ fi
+}