blob: 027f07592f46e2caf44d21b1bf2174831787af85 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# Copyright 1999-2011 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.7.ebuild,v 1.9 2011/02/26 18:05:33 armin76 Exp $
EAPI=2
inherit autotools eutils
DESCRIPTION="This is a library to handle UPnP IGD port mapping for GUPnP."
HOMEPAGE="http://gupnp.org"
SRC_URI="http://www.gupnp.org/sites/all/files/sources/${P}.tar.gz"
LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="alpha amd64 ~arm 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
dev-util/gtk-doc-am"
src_prepare() {
epatch "${FILESDIR}"/${P}-make-382.patch
eautoreconf
}
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
}
|