# Template file for 'gupnp-igd'
pkgname=gupnp-igd
version=0.2.2
revision=2
build_style=gnu-configure
configure_args="--disable-python --disable-static"
makedepends="pkg-config glib-devel libxml2-devel libsoup-devel gssdp-devel gupnp-devel"
short_desc="Library to handle UPnP IGD port mapping"
maintainer="Juan RP <xtraeme@gmail.com>"
license="LGPL-2.1"
homepage="http://gupnp.org"
distfiles="${GNOME_SITE}/$pkgname/0.2/$pkgname-$version.tar.xz"
checksum=73b6a98a0f13b29b34c3bfc07f99f78b1319211cb95a8585752873af2b9067d3
long_desc="
 GUPNP-igd is is a library to handle UPnP IGD port mapping."

gupnp-igd-devel_package() {
	depends="gupnp-devel gupnp-igd>=${version}"
	short_desc="${short_desc} - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/share
		vmove usr/lib/pkgconfig
	}
}

gupnp-igd_package() {
	pkg_install() {
		vmove usr
	}
}
