2014-10-21 22:11:59 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# libupnpp
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2019-01-16 22:02:28 +01:00
|
|
|
LIBUPNPP_VERSION = 0.17.0
|
2014-10-21 22:11:59 +02:00
|
|
|
LIBUPNPP_SITE = http://www.lesbonscomptes.com/upmpdcli/downloads
|
2018-03-07 20:31:08 +01:00
|
|
|
LIBUPNPP_LICENSE = LGPL-2.1+
|
2014-10-21 22:11:59 +02:00
|
|
|
LIBUPNPP_LICENSE_FILES = COPYING
|
|
|
|
LIBUPNPP_INSTALL_STAGING = YES
|
2019-01-20 10:47:50 +01:00
|
|
|
LIBUPNPP_DEPENDENCIES = expat libcurl \
|
|
|
|
$(if $(BR2_PACKAGE_LIBUPNP),libupnp,libupnp18)
|
2014-10-21 22:11:59 +02:00
|
|
|
|
2015-02-27 16:43:46 +01:00
|
|
|
# configure script fails to link against the dependencies of libupnp
|
2015-05-14 22:44:06 +02:00
|
|
|
# and libcurl causing detection to fail when statically linking
|
2015-02-27 16:43:46 +01:00
|
|
|
ifeq ($(BR2_STATIC_LIBS),y)
|
2015-05-14 22:44:06 +02:00
|
|
|
LIBUPNPP_DEPENDENCIES += host-pkgconf
|
|
|
|
LIBUPNPP_CONF_ENV += \
|
2015-07-12 16:35:26 +02:00
|
|
|
LIBS="`$(PKG_CONFIG_HOST_BINARY) --libs libupnp libcurl`"
|
2015-02-27 16:43:46 +01:00
|
|
|
endif
|
|
|
|
|
2014-10-21 22:11:59 +02:00
|
|
|
$(eval $(autotools-package))
|