defc16aefff9166b1ce9c3b718e0fe6c68cc00c8
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / libupnpp / libupnpp.mk
1 ################################################################################
2 #
3 # libupnpp
4 #
5 ################################################################################
6
7 LIBUPNPP_VERSION = 0.8.6
8 LIBUPNPP_SITE = http://www.lesbonscomptes.com/upmpdcli/downloads
9 LIBUPNPP_LICENSE = GPLv2+
10 LIBUPNPP_LICENSE_FILES = COPYING
11 LIBUPNPP_INSTALL_STAGING = YES
12 LIBUPNPP_DEPENDENCIES = expat libcurl libupnp
13
14 # configure script fails to link against the dependencies of libupnp
15 # and libcurl causing detection to fail when statically linking
16 ifeq ($(BR2_STATIC_LIBS),y)
17 LIBUPNPP_DEPENDENCIES += host-pkgconf
18 LIBUPNPP_CONF_ENV += \
19         LIBS='$(shell $(PKG_CONFIG_HOST_BINARY) --libs libupnp libcurl)'
20 endif
21
22 $(eval $(autotools-package))