2016-07-03 00:18:11 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# libminiupnpc
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2022-10-23 22:54:40 +02:00
|
|
|
LIBMINIUPNPC_VERSION = 2.2.4
|
2016-07-03 00:18:11 +02:00
|
|
|
LIBMINIUPNPC_SOURCE = miniupnpc-$(LIBMINIUPNPC_VERSION).tar.gz
|
|
|
|
LIBMINIUPNPC_SITE = http://miniupnp.free.fr/files
|
|
|
|
LIBMINIUPNPC_INSTALL_STAGING = YES
|
2017-03-30 15:43:38 +02:00
|
|
|
LIBMINIUPNPC_LICENSE = BSD-3-Clause
|
2016-07-03 00:18:11 +02:00
|
|
|
LIBMINIUPNPC_LICENSE_FILES = LICENSE
|
2021-03-04 12:30:39 +01:00
|
|
|
LIBMINIUPNPC_CPE_ID_VENDOR = miniupnp_project
|
|
|
|
LIBMINIUPNPC_CPE_ID_PRODUCT = miniupnpc
|
2022-03-16 21:39:21 +01:00
|
|
|
LIBMINIUPNPC_CONF_OPTS = -DUPNPC_BUILD_SAMPLE=OFF -DUPNPC_BUILD_TESTS=OFF
|
2016-07-03 00:18:11 +02:00
|
|
|
|
2022-03-17 19:56:15 +01:00
|
|
|
ifeq ($(BR2_STATIC_LIBS),y)
|
|
|
|
LIBMINIUPNPC_CONF_OPTS += -DUPNPC_BUILD_SHARED=OFF -DUPNPC_BUILD_STATIC=ON
|
|
|
|
else ifeq ($(BR2_SHARED_LIBS),y)
|
|
|
|
LIBMINIUPNPC_CONF_OPTS += -DUPNPC_BUILD_SHARED=ON -DUPNPC_BUILD_STATIC=OFF
|
|
|
|
else
|
|
|
|
LIBMINIUPNPC_CONF_OPTS += -DUPNPC_BUILD_SHARED=ON -DUPNPC_BUILD_STATIC=ON
|
|
|
|
endif
|
|
|
|
|
2016-07-03 00:18:11 +02:00
|
|
|
$(eval $(cmake-package))
|