# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: # /var/cvsroot/gentoo-x86/net-dialup/chestnut-dialer/chestnut-dialer-0.3.2.ebuild,v 1.1 2006/07/12 19:47:13 pythonhead Exp $ inherit flag-o-matic eutils DESCRIPTION="A dialer and front-end to pppd" HOMEPAGE="http://chestnut-dialer.sourceforge.net" SRC_URI="mirror://sourceforge/chestnut-dialer/${P}.tar.bz2" LICENSE="GPL" SLOT="0" KEYWORDS="~x86" IUSE="gtk qt importers nls" RDEPEND=">=net-dialup/ppp-2.4.3-r15 dev-libs/libxml2 virtual/python gtk? ( >=dev-python/pygtk-2 ) qt? ( dev-python/PyQt )" DEPEND="${RDEPEND}" src_unpack() { unpack ${A} } src_compile() { ./configure --build="${CHOST}"\ --host="${CHOST}" \ --prefix=/usr \ `use_enable gtk gtk2` \ `use_enable qt` \ `use_enable importers` \ `use_enable nls` \ --enable-optimizations || die "configure failed" emake || die } src_install() { make DESTDIR="${D}" install || die "could not install" rm -fr ${D}/usr/share/locale/pt_BR #bad translations domenu ${PN}.desktop dodoc AUTHORS ChangeLog NEWS README }