2017-11-18 21:24:40 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# libupnp18
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2019-11-21 08:52:10 +01:00
|
|
|
LIBUPNP18_VERSION = 1.8.6
|
2017-11-18 21:24:40 +01:00
|
|
|
LIBUPNP18_SOURCE = libupnp-$(LIBUPNP18_VERSION).tar.bz2
|
2018-10-25 20:33:41 +02:00
|
|
|
LIBUPNP18_SITE = http://downloads.sourceforge.net/project/pupnp/pupnp/libupnp-$(LIBUPNP18_VERSION)
|
2017-11-18 21:24:40 +01:00
|
|
|
LIBUPNP18_CONF_ENV = ac_cv_lib_compat_ftime=no
|
|
|
|
LIBUPNP18_INSTALL_STAGING = YES
|
|
|
|
LIBUPNP18_LICENSE = BSD-3-Clause
|
2018-10-25 20:33:41 +02:00
|
|
|
LIBUPNP18_LICENSE_FILES = COPYING
|
2019-05-09 13:04:37 +02:00
|
|
|
LIBUPNP18_DEPENDENCIES = host-pkgconf
|
2017-11-18 21:24:40 +01:00
|
|
|
|
2020-01-09 11:32:41 +01:00
|
|
|
# Bind the internal miniserver socket with reuseaddr to allow clean restarts.
|
|
|
|
LIBUPNP18_CONF_OPTS += --enable-reuseaddr
|
|
|
|
|
2018-04-02 10:21:51 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
|
|
|
LIBUPNP18_CONF_OPTS += --enable-open-ssl
|
2019-05-09 13:04:37 +02:00
|
|
|
LIBUPNP18_DEPENDENCIES += openssl
|
2018-04-02 10:21:51 +02:00
|
|
|
else
|
|
|
|
LIBUPNP18_CONF_OPTS += --disable-open-ssl
|
|
|
|
endif
|
|
|
|
|
2017-11-18 21:24:40 +01:00
|
|
|
$(eval $(autotools-package))
|