# Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/net-im/gnophone/gnophone-0.2.4.ebuild,v 1.3 2003/04/16 17:52:58 cretin Exp $ IUSE="" DESCRIPTION="internet telephone" HOMEPAGE="http://www.gnophone.com/" LICENSE="GPL-2" DEPEND="media-sound/gsm net-libs/iax media-sound/sox mozilla? ( net-www/mozilla ) esd? ( media-sound/esound ) x11-libs/gtk+ media-libs/gdk-pixbuf dev-libs/glib x11-base/xfree media-libs/imlib virtual/glibc" RDEPEND="media-sound/gsm net-libs/iax media-sound/sox mozilla? ( net-www/mozilla ) esd? ( media-sound/esound ) x11-libs/gtk+ media-libs/gdk-pixbuf dev-libs/glib x11-base/xfree media-libs/imlib virtual/glibc" SLOT="0" SRC_URI="ftp://ftp.gnophone.com/pub/gnophone/${P}.tar.gz" S=${WORKDIR}/${P} D_PREFIX=/usr KEYWORDS="x86" src_compile() { local myconf use mozilla \ && myconf="${myconf} --with-mozilla-home=/usr/lib/mozilla --with-mozilla-lib=/usr/lib/mozilla --with-mozilla-include=/usr/lib/mozilla/include" \ || myconf="${myconf} --disable-mozilla" use esd \ || myconf="${myconf} --disable-esd" ./configure ${myconf} \ --prefix=${D_PREFIX} --enable-upgrade --disable-zaptel \ || die "./configure failed" pushd ${S}/sounds && make && popd # -j2 breaks the sound build emake || die } src_install () { make prefix=${D}/${D_PREFIX} install dodoc NEWS COPYING AUTHORS README }