46 lines
1.3 KiB
Bash
46 lines
1.3 KiB
Bash
# Copyright 1999-2011 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: /var/cvsroot/gentoo-x86/net-libs/gupnp/gupnp-0.16.1.ebuild,v 1.3 2011/08/14 10:25:50 nirbheek Exp $
|
|
|
|
EAPI="4"
|
|
|
|
DESCRIPTION="An object-oriented framework for creating UPnP devs and control points"
|
|
HOMEPAGE="http://gupnp.org/"
|
|
SRC_URI="http://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="+introspection networkmanager"
|
|
|
|
RDEPEND=">=net-libs/gssdp-0.9.2[introspection?]
|
|
>=net-libs/libsoup-2.28.2:2.4[introspection?]
|
|
>=dev-libs/glib-2.24:2
|
|
dev-libs/libxml2
|
|
|| ( >=sys-apps/util-linux-2.16 <sys-libs/e2fsprogs-libs-1.41.8 )
|
|
introspection? ( >=dev-libs/gobject-introspection-0.6.4 )
|
|
networkmanager? ( >=dev-libs/glib-2.26 )"
|
|
DEPEND="${RDEPEND}
|
|
dev-util/pkgconfig
|
|
sys-devel/gettext"
|
|
|
|
DOCS="AUTHORS ChangeLog NEWS README"
|
|
|
|
src_configure() {
|
|
local backend=unix
|
|
use networkmanager && backend=network-manager
|
|
|
|
econf \
|
|
$(use_enable introspection) \
|
|
--disable-static \
|
|
--disable-dependency-tracking \
|
|
--disable-gtk-doc \
|
|
--with-context-manager=${backend} \
|
|
--with-html-dir=/usr/share/doc/${PF}/html
|
|
}
|
|
|
|
src_install() {
|
|
default
|
|
# Remove pointless .la files
|
|
find "${D}" -name '*.la' -exec rm -f {} + || die
|
|
}
|