summaryrefslogtreecommitdiffstats
path: root/package/libupnpp/libupnpp.mk
blob: 3619050f103e395140ebf10e21bb117d4700145a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
################################################################################
#
# libupnpp
#
################################################################################

LIBUPNPP_VERSION = 0.17.0
LIBUPNPP_SITE = http://www.lesbonscomptes.com/upmpdcli/downloads
LIBUPNPP_LICENSE = LGPL-2.1+
LIBUPNPP_LICENSE_FILES = COPYING
LIBUPNPP_INSTALL_STAGING = YES
LIBUPNPP_DEPENDENCIES = expat libcurl \
	$(if $(BR2_PACKAGE_LIBUPNP),libupnp,libupnp18)

# configure script fails to link against the dependencies of libupnp
# and libcurl causing detection to fail when statically linking
ifeq ($(BR2_STATIC_LIBS),y)
LIBUPNPP_DEPENDENCIES += host-pkgconf
LIBUPNPP_CONF_ENV += \
	LIBS="`$(PKG_CONFIG_HOST_BINARY) --libs libupnp libcurl`"
endif

$(eval $(autotools-package))
OpenPOWER on IntegriCloud