Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [RFC 1/1] libupnp: add package libupnp
@ 2008-09-17 12:59 Hans-Christian Egtvedt
  2008-09-17 13:56 ` Hans-Christian Egtvedt
  2008-09-17 14:06 ` Peter Korsgaard
  0 siblings, 2 replies; 3+ messages in thread
From: Hans-Christian Egtvedt @ 2008-09-17 12:59 UTC (permalink / raw)
  To: buildroot

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>
---
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

diff --git a/package/Config.in b/package/Config.in
index 40d61a5..dd50b26 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -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
diff --git a/package/libupnp/Config.in b/package/libupnp/Config.in
new file mode 100644
index 0000000..6b1a6cf
--- /dev/null
+++ b/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/
diff --git a/package/libupnp/libupnp.mk b/package/libupnp/libupnp.mk
new file mode 100644
index 0000000..da91254
--- /dev/null
+++ b/package/libupnp/libupnp.mk
@@ -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))
-- 
1.5.4.3

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [Buildroot] [RFC 1/1] libupnp: add package libupnp
  2008-09-17 12:59 [Buildroot] [RFC 1/1] libupnp: add package libupnp Hans-Christian Egtvedt
@ 2008-09-17 13:56 ` Hans-Christian Egtvedt
  2008-09-17 14:06 ` Peter Korsgaard
  1 sibling, 0 replies; 3+ messages in thread
From: Hans-Christian Egtvedt @ 2008-09-17 13:56 UTC (permalink / raw)
  To: buildroot

On Wed, 17 Sep 2008 14:59:59 +0200
Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com> wrote:

<snipp>

> +LIBUPNP_DEPENDENCIES:=uclibc
> +

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

<snipp>

-- 
Best regards,
Hans-Christian Egtvedt

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] [RFC 1/1] libupnp: add package libupnp
  2008-09-17 12:59 [Buildroot] [RFC 1/1] libupnp: add package libupnp Hans-Christian Egtvedt
  2008-09-17 13:56 ` Hans-Christian Egtvedt
@ 2008-09-17 14:06 ` Peter Korsgaard
  1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2008-09-17 14:06 UTC (permalink / raw)
  To: buildroot

>>>>> "Hans-Christian" == Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com> 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?

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-09-17 14:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-17 12:59 [Buildroot] [RFC 1/1] libupnp: add package libupnp Hans-Christian Egtvedt
2008-09-17 13:56 ` Hans-Christian Egtvedt
2008-09-17 14:06 ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox