# 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 subversion gnome2 DESCRIPTION="A dialer and front-end to pppd" HOMEPAGE="http://chestnut-dialer.sourceforge.net" SRC_URI="" ESVN_REPO_URI="https://chestnut-dialer.svn.sourceforge.net/svnroot/chestnut-dialer/trunk" ESVN_PROJECT="chestnut-dialer" S="${WORKDIR}/chestnut-dialer" LICENSE="GPL" SLOT="0" KEYWORDS="~x86" IUSE="gtk qt importers nls" RDEPEND=">=net-dialup/ppp-2.4.3-r15 dev-libs/libxml2 virtual/python >=dev-python/pygtk-2 dev-python/PyQt" DEPEND="${RDEPEND}" src_unpack() { subversion_src_unpack cd ${S} } src_compile() { autoreconf --install ./configure --build="${CHOST}"\ --host="${CHOST}" \ --prefix=/usr \ `use_enable gtk gtk2` \ `use_enable qt` \ `use_enable importers` \ `use_enable nls` \ --disable-show-passwd-button \ --enable-optimizations || die "configure failed" emake || die "If you got error with po files, try compile witn -nls USE flag" } src_install() { # make DESTDIR="${D}" install || die "could not install" # This does not work. Useing gnome2_src_install as temporary solution. gnome2_src_install rm -fr ${D}/usr/share/locale/pt_BR #bad translations make_desktop_entry chestnut-dialer "Chestnut Dialer" chestnut-dialer.png dodoc AUTHORS ChangeLog NEWS README }