# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/net-p2p/lince/lince-1.0_rc1-r1.ebuild,v 1.1 2008/08/25 10:47:05 coldwind Exp $ EAPI="1" MY_PV="${PV/_/-}" MY_P="Lince-${MY_PV}" DESCRIPTION="a light, powerfull and full feature gtkmm bittorrent client" SRC_URI="mirror://sourceforge/lincetorrent/${MY_P}.tar.gz" HOMEPAGE="http://lincetorrent.sourceforge.net" LICENSE="GPL-3" SLOT="0" KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" IUSE="dbus libnotify" RDEPEND="dev-cpp/gtkmm:2.4 dev-cpp/cairomm >=dev-cpp/glibmm-2.16 >=net-libs/rb_libtorrent-0.13 dev-libs/libxml2 sys-devel/gettext dbus? ( dev-libs/dbus-glib ) libnotify? ( x11-libs/libnotify )" DEPEND="${RDEPEND} dev-util/intltool" S=${WORKDIR}/${MY_P} src_compile() { econf \ $(use_with dbus) \ $(use_with libnotify) || die "econf failed" emake || die "emake failed" } src_install () { emake DESTDIR="${D}" install || die "emake install failed" }