blob: 81cf4cfc0f11ab892e7923f728f4a8115d090911 (
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
|
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-libs/gupnp/gupnp-0.6.ebuild,v 1.1 2007/09/24 16:41:52 drac Exp $
DESCRIPTION="an object-oriented framework for creating UPnP devs and control points."
HOMEPAGE="http://gupnp.org"
SRC_URI="http://${PN}.org/sources/${PN}/${P}.tar.gz"
LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="~x86"
IUSE="doc"
RDEPEND=">=net-libs/gssdp-0.3
>=net-libs/libsoup-2.2
dev-libs/libxml2
x11-misc/shared-mime-info
sys-fs/e2fsprogs"
DEPEND="${RDEPEND}
dev-util/pkgconfig
sys-devel/gettext
doc? ( dev-util/gtk-doc )"
src_compile() {
econf $(use_enable doc gtk-doc)
emake || die "emake failed."
}
src_install() {
emake DESTDIR="${D}" install || die "emake install failed."
dodoc AUTHORS ChangeLog NEWS README
use doc || rm -rf "${D}"/usr/share/gtk-doc/html/${PN}
}
|