diff --git a/srcpkgs/gupnp-igd-devel b/srcpkgs/gupnp-igd-devel new file mode 120000 index 0000000000..e8929fd3af --- /dev/null +++ b/srcpkgs/gupnp-igd-devel @@ -0,0 +1 @@ +gupnp-igd \ No newline at end of file diff --git a/srcpkgs/gupnp-igd/depends b/srcpkgs/gupnp-igd/depends new file mode 100644 index 0000000000..66fe7f1eda --- /dev/null +++ b/srcpkgs/gupnp-igd/depends @@ -0,0 +1,2 @@ +abi_depends=">=0.1.7" +api_depends="${abi_depends}" diff --git a/srcpkgs/gupnp-igd/gupnp-igd-devel.template b/srcpkgs/gupnp-igd/gupnp-igd-devel.template new file mode 100644 index 0000000000..40182946b1 --- /dev/null +++ b/srcpkgs/gupnp-igd/gupnp-igd-devel.template @@ -0,0 +1,23 @@ +# Template file for 'gupnp--igd-devel'. +# +short_desc="${short_desc} - development files" +long_desc="${long_desc} + + This package contains files for development, headers, static libs, etc." + +Add_dependency run pkg-config +Add_dependency run glib-devel +Add_dependency run libxml2-devel +Add_dependency run libsoup-devel +Add_dependency run gssdp-devel +Add_dependency run gupnp-devel +Add_dependency run gupnp-igd + +do_install() +{ + install -d ${DESTDIR}/usr/lib + + mv ${SRCPKGDESTDIR}/usr/{include,share} ${DESTDIR}/usr + mv ${SRCPKGDESTDIR}/usr/lib/*.a ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib +} diff --git a/srcpkgs/gupnp-igd/template b/srcpkgs/gupnp-igd/template new file mode 100644 index 0000000000..136fd6f3c3 --- /dev/null +++ b/srcpkgs/gupnp-igd/template @@ -0,0 +1,27 @@ +# Template file for 'gupnp-igd' +pkgname=gupnp-igd +version=0.1.7 +distfiles="http://gupnp.org/sites/all/files/sources/$pkgname-$version.tar.gz" +build_style=gnu_configure +configure_args="--disable-python" +short_desc="Library to handle UPnP IGD port mapping" +maintainer="Juan RP " +checksum=c1d80ed20081992fabe70331f02efe9435bbfcc79287676121a855fea6561bf6 +long_desc=" + GUPNP-igd is is a library to handle UPnP IGD port mapping." + +subpackages="$pkgname-devel" + +Add_dependency run glibc +Add_dependency run glib +Add_dependency run libxml2 +Add_dependency run libsoup +Add_dependency run gssdp +Add_dependency run gupnp + +Add_dependency build pkg-config +Add_dependency build glib-devel +Add_dependency build libxml2-devel +Add_dependency build libsoup-devel +Add_dependency build gssdp-devel +Add_dependency build gupnp-devel