# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ DESCRIPTION="Philips LightFrame2 for X" HOMEPAGE="http://xlightframe.sourceforge.net" SRC_URI="mirror://sourceforge/xlightframe/xLightFrame.${PV}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86" IUSE="" DEPEND="sys-devel/gcc sys-apps/sed sys-devel/libtool virtual/x11" RDEPEND="virtual/x11 sys-apps/gawk" S="${WORKDIR}/xLightFrame.${PV}" inherit flag-o-matic src_compile() { append-ldflags -L/usr/lib/ -lX11 -lXext -lXpm econf || die "could not configure" emake || die "emake failed" } src_install() { einstall || die "einstall failed" mv src/lfw.sh src/lfw.sh.old cat src/lfw.sh.old|sed s/"\/local\/"/"\/"/g >src/lfw.sh rm src/lfw.sh.old dobin src/lfw.sh|| die "could not copy lfw.sh" }