[Buildroot] [PATCH 1/3] libminiupnpc: New package
Bernd Kuhls
bernd.kuhls at t-online.de
Sat Jul 2 22:18:11 UTC 2016
Signed-off-by: Bernd Kuhls <bernd.kuhls at t-online.de>
---
package/Config.in | 1 +
package/libminiupnpc/Config.in | 20 ++++++++++++++++++++
package/libminiupnpc/libminiupnpc.hash | 2 ++
package/libminiupnpc/libminiupnpc.mk | 14 ++++++++++++++
4 files changed, 37 insertions(+)
create mode 100644 package/libminiupnpc/Config.in
create mode 100644 package/libminiupnpc/libminiupnpc.hash
create mode 100644 package/libminiupnpc/libminiupnpc.mk
diff --git a/package/Config.in b/package/Config.in
index d55fa69..cfa26ee 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -1179,6 +1179,7 @@ menu "Networking"
source "package/libmbus/Config.in"
source "package/libmemcached/Config.in"
source "package/libmicrohttpd/Config.in"
+ source "package/libminiupnpc/Config.in"
source "package/libmnl/Config.in"
source "package/libmodbus/Config.in"
source "package/libndp/Config.in"
diff --git a/package/libminiupnpc/Config.in b/package/libminiupnpc/Config.in
new file mode 100644
index 0000000..9c6459c
--- /dev/null
+++ b/package/libminiupnpc/Config.in
@@ -0,0 +1,20 @@
+config BR2_PACKAGE_LIBMINIUPNPC
+ bool "libminiupnpc"
+ depends on !BR2_BINFMT_FLAT
+ depends on !BR2_STATIC_LIBS
+ help
+ The UPnP protocol is supported by most home adsl/cable routers
+ and Microsoft Windows 2K/XP. The aim of the MiniUPnP project is
+ to bring a free software solution to support the "Internet
+ Gateway Device" part of the protocol.
+
+ Miniupnpc aims at the simplest library possible, with the
+ smallest footprint and no dependencies to other libraries such
+ as XML parsers or HTTP implementations. All the code is pure
+ ANSI C.
+
+ http://miniupnp.free.fr
+
+comment "libminiupnpc needs a toolchain dynamic library"
+ depends on BR2_STATIC_LIBS
+ depends on !BR2_BINFMT_FLAT
diff --git a/package/libminiupnpc/libminiupnpc.hash b/package/libminiupnpc/libminiupnpc.hash
new file mode 100644
index 0000000..985d69d
--- /dev/null
+++ b/package/libminiupnpc/libminiupnpc.hash
@@ -0,0 +1,2 @@
+# Locally computed
+sha256 d434ceb8986efbe199c5ca53f90ed53eab290b1e6d0530b717eb6fa49d61f93b miniupnpc-2.0.tar.gz
diff --git a/package/libminiupnpc/libminiupnpc.mk b/package/libminiupnpc/libminiupnpc.mk
new file mode 100644
index 0000000..0eb7cf6
--- /dev/null
+++ b/package/libminiupnpc/libminiupnpc.mk
@@ -0,0 +1,14 @@
+################################################################################
+#
+# libminiupnpc
+#
+################################################################################
+
+LIBMINIUPNPC_VERSION = 2.0
+LIBMINIUPNPC_SOURCE = miniupnpc-$(LIBMINIUPNPC_VERSION).tar.gz
+LIBMINIUPNPC_SITE = http://miniupnp.free.fr/files
+LIBMINIUPNPC_INSTALL_STAGING = YES
+LIBMINIUPNPC_LICENSE = BSD-3c
+LIBMINIUPNPC_LICENSE_FILES = LICENSE
+
+$(eval $(cmake-package))
--
2.8.1
More information about the buildroot
mailing list