# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/net-mail/gnubiff/gnubiff-2.2.10.ebuild,v 1.2 2008/06/10 18:41:17 dertobi123 Exp $ inherit eutils DESCRIPTION="A mail notification program" HOMEPAGE="http://gnubiff.sourceforge.net/" SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~alpha ~amd64 ~ia64 ~x86" IUSE="debug fam gnome nls password" RDEPEND=">=x11-libs/gtk+-2.4 >=gnome-base/libglade-2.3 dev-libs/popt gnome? ( >=gnome-base/libgnome-2.2 >=gnome-base/libgnomeui-2.2 ) password? ( dev-libs/openssl ) fam? ( virtual/fam ) x11-proto/xproto" DEPEND="${RDEPEND} dev-util/pkgconfig" src_unpack() { epatch "${FILESDIR}"/gcc-4.3.patch } src_compile() { econf $(use_enable debug) \ $(use_enable gnome) \ $(use_enable nls) \ $(use_enable fam) \ $(use_with password) \ $(use_with password password-string ${RANDOM}${RANDOM}${RANDOM}${RANDOM}) \ ${myconf} || die "econf failed" emake || die "emake failed" } src_install() { make DESTDIR="${D}" install || die "make install failed" dodoc AUTHORS ChangeLog NEWS README THANKS TODO }