# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/mail-client/mailtc/mailtc-1.2.0.ebuild,v 1.1 2005/09/11 19:59:32 pyrania Exp $ DESCRIPTION="mailtc, a lightweight mail checker for the system tray" SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" HOMEPAGE="http://mailtc.sourceforge.net/" IUSE="debug nls ssl" SLOT="0" KEYWORDS="~x86 ~amd64 ~alpha ~ppc" LICENSE="GPL-2" DEPEND=">=x11-libs/gtk+-2.4 nls? ( sys-devel/gettext ) ssl? ( >=dev-libs/openssl-0.9.7 )" src_compile() { local myconf use debug && myconf="${myconf} --enable-debug" use nls || myconf="${myconf} --disable-nls" use ssl || myconf="${myconf} --disable-ssl" econf ${myconf} || die "Configuration failed" emake || die "Make failed." } src_install () { make install DESTDIR=${D} || die "Install failed" dodoc AUTHORS README COPYING ChangeLog INSTALL TODO }