# Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/net-misc/gtm/gtm-0.4.11-r2.ebuild,v 1.9 2003/09/05 22:01:48 msterret Exp $ IUSE="ssl nls gnome" S=${WORKDIR}/${P} DESCRIPTION="GTM - a transfer manager" SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" HOMEPAGE="http://gtm.sourceforge.net/" SLOT="0" LICENSE="GPL-2" KEYWORDS="x86 sparc " DEPEND="virtual/glibc virtual/x11 x11-libs/gtk+ gnome-base/oaf ( >=gnome-base/gnome-panel-1.4.1 ${S}/doc/${lang}/Makefile.in done patch -p0 < ${FILESDIR}/wget-log.c.patch } src_compile() { local myconf use nls || myconf="--disable-nls" use gnome || myconf="${myconf} --disable-applet" use gnome && myconf="${myconf} --enable-applet" use ssl || myconf="${myconf} --disable-ssl" use ssl && myconf="${myconf} --enable-ssl" ./configure --host=${CHOST} \ --prefix=/usr \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ --localstatedir=/var/lib \ --sysconfdir=/etc \ --without-debug \ $myconf || die emake || die } src_install() { make DESTDIR=${D} install || die }