# Copyright 1999-2004 Gentoo Technologies, Inc. # 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.2 2004/04/27 20:46:59 agriffis Exp $ inherit eutils S="${WORKDIR}/${P}beta" DESCRIPTION="A Graphical download manager" SRC_URI="http://prozilla.genesys.ro/downloads/${PN}/tarballs/${P}beta.tar.bz2" HOMEPAGE="http://prozilla.genesys.ro/" KEYWORDS="~x86 ~sparc ~ppc" SLOT="0" LICENSE="GPL-2" DEPEND="virtual/glibc >=x11-libs/fltk-1.1" src_unpack() { unpack ${A} cd ${S} epatch ${FILESDIR}/${P}-configure.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 }