2016-07-03 06:18:11 +08:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# libminiupnpc
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2024-04-12 05:01:47 +08:00
|
|
|
LIBMINIUPNPC_VERSION = 2.2.7
|
2016-07-03 06:18:11 +08:00
|
|
|
LIBMINIUPNPC_SOURCE = miniupnpc-$(LIBMINIUPNPC_VERSION).tar.gz
|
|
|
|
LIBMINIUPNPC_SITE = http://miniupnp.free.fr/files
|
|
|
|
LIBMINIUPNPC_INSTALL_STAGING = YES
|
2017-03-30 21:43:38 +08:00
|
|
|
LIBMINIUPNPC_LICENSE = BSD-3-Clause
|
2016-07-03 06:18:11 +08:00
|
|
|
LIBMINIUPNPC_LICENSE_FILES = LICENSE
|
2021-03-04 19:30:39 +08:00
|
|
|
LIBMINIUPNPC_CPE_ID_VENDOR = miniupnp_project
|
|
|
|
LIBMINIUPNPC_CPE_ID_PRODUCT = miniupnpc
|
2022-03-17 04:39:21 +08:00
|
|
|
LIBMINIUPNPC_CONF_OPTS = -DUPNPC_BUILD_SAMPLE=OFF -DUPNPC_BUILD_TESTS=OFF
|
2016-07-03 06:18:11 +08:00
|
|
|
|
2022-03-18 02:56:15 +08: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 06:18:11 +08:00
|
|
|
$(eval $(cmake-package))
|