2014-10-21 22:11:59 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# libupnpp
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2015-09-07 17:35:16 +02:00
|
|
|
LIBUPNPP_VERSION = 0.12.1
|
2014-10-21 22:11:59 +02:00
|
|
|
LIBUPNPP_SITE = http://www.lesbonscomptes.com/upmpdcli/downloads
|
|
|
|
LIBUPNPP_LICENSE = GPLv2+
|
|
|
|
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))
|