Skip to contentSkip to conversation

libupnp: add package libupnp

RFC New Hans-Christian Egtvedt 2 participants 3 messages Sep 17, 2008

lore
Share & tools
lore
#0 lore raw

RFC 1/1 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/

---
If no objections I will commit this patch.

 package/Config.in          |    1 +
 package/libupnp/Config.in  |    9 +++++++++
 package/libupnp/libupnp.mk |   15 +++++++++++++++
 3 files changed, 25 insertions(+), 0 deletions(-)
 create mode 100644 package/libupnp/Config.in
 create mode 100644 package/libupnp/libupnp.mk
package/Config.in +1 -0
index 40d61a5..dd50b26 100644
@@ -169,6 +169,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
package/libupnp/Config.in new file +9 -0
new file mode 100644
index 0000000..6b1a6cf
@@ -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/
package/libupnp/libupnp.mk new file +15 -0
new file mode 100644
index 0000000..da91254
@@ -0,0 +1,15 @@
+#############################################################
+#
+# 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
+
+LIBUPNP_DEPENDENCIES:=uclibc
+
+$(eval $(call AUTOTARGETS,package,libupnp))
Signature · 1 line
1.5.4.3
#1 lore raw

RFC 1/1 libupnp: add package libupnp

On Wed, 17 Sep 2008 14:59:59 +0200
Hans-Christian Egtvedt <[email protected]> wrote:

<snipp>

package/libupnp/libupnp.mk line 14

Quoted 2 lines
package/libupnp/libupnp.mk new file +2 -0
+LIBUPNP_DEPENDENCIES:=uclibc
+

The LIBUPNP_DEPENDENCIES is not needed AFAICT, so I'll scratch that.

<snipp>

Signature · 2 lines
Best regards,
Hans-Christian Egtvedt
#2 lore raw

RFC 1/1 libupnp: add package libupnp

In reply to Hans-Christian Egtvedt
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Hans-Christian" == Hans-Christian Egtvedt <[email protected]> writes:

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

Looks good.

Hans-Christian> +LIBUPNP_INSTALL_STAGING:=YES
Hans-Christian> +LIBUPNP_INSTALL_TARGET_OPT:=DESTDIR=$(TARGET_DIR) install-strip

Not related to libupnp, but I think we should make install-strip the default instead of install-exec - For what packages is install-exec ever the right target?

Signature · 1 line
Bye, Peter Korsgaard