2014-10-21 22:11:59 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# libupnpp
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2016-10-11 21:50:06 +02:00
|
|
|
LIBUPNPP_VERSION = 0.15.1
|
2014-10-21 22:11:59 +02:00
|
|
|
LIBUPNPP_SITE = http://www.lesbonscomptes.com/upmpdcli/downloads
|
2017-03-30 15:43:32 +02:00
|
|
|
LIBUPNPP_LICENSE = GPL-2.0+
|
2014-10-21 22:11:59 +02:00
|
|
|
LIBUPNPP_LICENSE_FILES = COPYING
|
|
|
|
LIBUPNPP_INSTALL_STAGING = YES
|
|
|
|
LIBUPNPP_DEPENDENCIES = expat libcurl libupnp
|
|
|
|
|
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))
|