# Copyrigth 1999-2000 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # Author Mikael Hallendal # Maintainer: Desktop Team # $Header: /var/cvsroot/gentoo-x86/x11-misc/xalf/xalf-0.12-r1.ebuild,v 1.1 2001/10/06 10:08:20 azarah Exp $ A=${P}.tgz S=${WORKDIR}/${P} DESCRIPTION="X11 Application Launch Feedback" SRC_URI="http://www.lysator.liu.se/~astrand/projects/xalf/${A}" HOMEPAGE="http://www.lysator.liu.se/~astrand/projects/xalf/" DEPEND=">=x11-libs/gtk+-1.2.10-r4 gnome? ( >=gnome-base/gnome-core-1.4.0.4-r1 gnome-base/control-center )" src_compile() { local myconf if [ "`use gnome`" ] then myconf="--prefix=/usr --enable-capplet" else myconf="--prefix=/usr --disable-capplet" fi ./configure --host=${CHOST} ${myconf} || die "Failed to configure package." emake || die "Failed to build package." } src_install() { make prefix=${D}/usr install || die dodoc AUTHORS COPYING ChangeLog README }