# Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # Maintainer: Karl Trygve Kalleberg # /space/gentoo/cvsroot/gentoo-x86/x11-wm/fluxbox/fluxbox-0.1.7.ebuild,v 1.1 2002/03/02 08:29:56 blocke Exp S=${WORKDIR}/${P} DESCRIPTION="Window manager based on BlackBox" SRC_URI="http://download.sourceforge.net/fluxbox/fluxbox-${PV}.tar.gz" HOMEPAGE="http://fluxbox.sf.net" DEPEND="virtual/x11 virtual/glibc" RDEPEND="$DEPEND" src_compile() { local myconf use nls && myconf="$myconf --enable-nls" \ || myconf="$myconf --disable-nls" use kde && myconf="$myconf --enable-kde" \ && export KDEDIR=/usr/kde/2 \ || myconf="$myconf --disable-kde" \ use gnome && myconf="$myconf --enable-gnome" \ || myconf="$myconf --disable-gnome" ./configure \ --host=${CHOST} \ --prefix=/usr \ --infodir=/usr/share/info \ --mandir=/usr/share/man \ $myconf || die "./configure failed" emake || die } src_install () { make \ prefix=${D}/usr \ sysconfdir=${D}/etc/X11/fluxbox \ mandir=${D}/usr/share/man \ infodir=${D}/usr/share/info \ install || die dodoc ChangeLog AUTHORS COPYING INSTALL README TODO NEWS docinto data dodoc data/README* }