From ae9e43d2facb2ea5441c51891b9277991fc75ebc Mon Sep 17 00:00:00 2001 From: Bernd Kuhls Date: Sun, 3 Jul 2016 00:18:11 +0200 Subject: [PATCH] libminiupnpc: New package Signed-off-by: Bernd Kuhls Signed-off-by: Peter Korsgaard --- 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 3fddf8e6d3..73bf32f0f1 100644 --- a/package/Config.in +++ b/package/Config.in @@ -1173,6 +1173,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 0000000000..c241707392 --- /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 w/ 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 0000000000..985d69d45f --- /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 0000000000..0eb7cf6397 --- /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.30.2