void-packages/srcpkgs/gupnp-igd/template

41 lines
1.1 KiB
Text
Raw Normal View History

# Template file for 'gupnp-igd'
pkgname=gupnp-igd
2014-02-08 08:43:56 +00:00
version=0.2.3
revision=1
build_style=gnu-configure
2011-10-02 21:55:48 +00:00
configure_args="--disable-python --disable-static"
hostmakedepends="pkg-config glib-devel"
makedepends="libglib-devel libxml2-devel libsoup-devel gssdp-devel gupnp-devel"
short_desc="Library to handle UPnP IGD port mapping"
maintainer="Juan RP <xtraeme@gmail.com>"
2011-10-02 21:55:48 +00:00
license="LGPL-2.1"
homepage="http://gupnp.org"
distfiles="${GNOME_SITE}/$pkgname/0.2/$pkgname-$version.tar.xz"
2014-02-08 08:43:56 +00:00
checksum=ccaf49f9d4f38ac646f1b00341d4db767291e56592286da0e0eb0835811f462d
# Package build options
build_options="gir"
# Disable gir for cross builds.
if [ -z "$CROSS_BUILD" ]; then
build_options_default="gir"
fi
if [ "$build_option_gir" ]; then
configure_args+=" --enable-introspection"
makedepends+=" gobject-introspection"
else
configure_args+=" --disable-introspection"
fi
gupnp-igd-devel_package() {
depends="gupnp-devel ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/share
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}