gentoo-overlay/net-libs/gssdp/gssdp-0.10.0.ebuild

36 lines
1 KiB
Bash

# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-libs/gssdp/gssdp-0.10.0.ebuild,v 1.2 2012/05/05 02:54:27 jdhore Exp $
EAPI=3
DESCRIPTION="A GObject-based API for handling resource discovery and announcement over SSDP."
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 ~x86-fbsd"
IUSE="+introspection +gtk"
RDEPEND=">=dev-libs/glib-2.22:2
>=net-libs/libsoup-2.26.1:2.4[introspection?]
gtk? ( >=x11-libs/gtk+-2.12:2 )
introspection? ( >=dev-libs/gobject-introspection-0.6.4 )"
DEPEND="${RDEPEND}
virtual/pkgconfig
sys-devel/gettext"
src_configure() {
econf \
$(use_enable introspection) \
$(use_with gtk) \
--disable-dependency-tracking \
--disable-gtk-doc \
--with-html-dir=/usr/share/doc/${PF}/html
}
src_install() {
emake DESTDIR="${D}" install || die
dodoc AUTHORS ChangeLog NEWS README
}