# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/net-libs/gupnp-igd/gupnp-igd-0.1.6.ebuild,v 1.3 2010/02/19 18:22:52 armin76 Exp $ EAPI=2 DESCRIPTION="This is a library to handle UPnP IGD port mapping for GUPnP." HOMEPAGE="http://gupnp.org" SRC_URI="http://gupnp.org/sources/${PN}/${P}.tar.gz" LICENSE="LGPL-2" SLOT="0" KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" IUSE="python" RDEPEND=">=net-libs/gupnp-0.13.2 >=dev-libs/glib-2.16:2 python? ( >=dev-python/pygobject-2.16 )" DEPEND="${RDEPEND} dev-util/pkgconfig sys-devel/gettext" src_configure() { econf \ --disable-dependency-tracking \ --disable-gtk-doc \ $(use_enable python) \ --with-html-dir=/usr/share/doc/${PF}/html } src_install() { emake DESTDIR="${D}" install || die dodoc AUTHORS NEWS README TODO }