Browse Source

libupnp: add package libupnp

This patch adds libupnp package to Buildroot. libupnp provides developers
with an API that are compliant with version 1.0 of the Universal Plug and
Play Device Architecture Specification.

http://pupnp.sourceforge.net/

Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
Hans-Christian Egtvedt 17 years ago
parent
commit
aff967f068
3 changed files with 23 additions and 0 deletions
  1. 1 0
      package/Config.in
  2. 9 0
      package/libupnp/Config.in
  3. 13 0
      package/libupnp/libupnp.mk

+ 1 - 0
package/Config.in

@@ -163,6 +163,7 @@ source "package/libcgicc/Config.in"
 source "package/libeXosip2/Config.in"
 source "package/libosip2/Config.in"
 source "package/libpcap/Config.in"
+source "package/libupnp/Config.in"
 if !BR2_PACKAGE_BUSYBOX_HIDE_OTHERS
 source "package/lighttpd/Config.in"
 endif

+ 9 - 0
package/libupnp/Config.in

@@ -0,0 +1,9 @@
+config BR2_PACKAGE_LIBUPNP
+	bool "libupnp"
+	help
+	  The portable SDK for UPnP(tm) Devices (libupnp) provides developers
+	  with an API and open source code for building control points,
+	  devices, and bridges that are compliant with Version 1.0 of the
+	  Universal Plug and Play Device Architecture Specification
+
+	  http://pupnp.sourceforge.net/

+ 13 - 0
package/libupnp/libupnp.mk

@@ -0,0 +1,13 @@
+#############################################################
+#
+# libupnp
+#
+#############################################################
+LIBUPNP_VERSION:=1.6.6
+LIBUPNP_SOURCE:=libupnp-$(LIBUPNP_VERSION).tar.bz2
+LIBUPNP_SITE:=http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/pupnp
+
+LIBUPNP_INSTALL_STAGING:=YES
+LIBUPNP_INSTALL_TARGET_OPT:=DESTDIR=$(TARGET_DIR) install-strip
+
+$(eval $(call AUTOTARGETS,package,libupnp))