# Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/net-www/prozgui/prozgui-2.0.5.ebuild,v 1.6 2004/09/09 19:11:17 blubb Exp $ inherit eutils DESCRIPTION="A Graphical download manager" HOMEPAGE="http://prozilla.genesys.ro/" SRC_URI="http://prozilla.genesys.ro/downloads/${PN}/tarballs/${P}beta.tar.bz2" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86 ~sparc ~ppc ~amd64" IUSE="" DEPEND="virtual/libc >=x11-libs/fltk-1.1" S="${WORKDIR}/${P}beta" src_unpack() { unpack ${A} cd ${S} epatch ${FILESDIR}/${P}-configure.patch epatch ${FILESDIR}/${P}-options.patch } src_compile() { ./configure --prefix=/usr \ --infodir=/usr/share/info \ --mandir=/usr/share/man \ --host=${CHOST} \ --sysconfdir=/etc \ --disable-nls \ --with-fltk-includes=`fltk-config --cflags | cut -d' ' -f1 | sed 's/-I//'` \ --with-fltk-libs=`fltk-config --ldflags | cut -d' ' -f1 | sed 's/-L//'` || die emake || die } src_install () { make DESTDIR=${D} \ sysconfdir=${D}/etc \ install || die dodoc ANNOUNCE AUTHORS COPYING CREDITS ChangeLog FAQ NEWS README TODO }