Select Git revision
-
Upstream ticket: https://github.com/pupnp/pupnp/issues/328 Upstream patch: https://github.com/pupnp/pupnp/pull/428 GitLab: #563 Change-Id: Ie6f8c68a97a96759dd07df7a6a8be8a60968c4f1
Upstream ticket: https://github.com/pupnp/pupnp/issues/328 Upstream patch: https://github.com/pupnp/pupnp/pull/428 GitLab: #563 Change-Id: Ie6f8c68a97a96759dd07df7a6a8be8a60968c4f1
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
rules.mak 951 B
# UPNP
UPNP_VERSION := 1.14.18
UPNP_URL := https://github.com/pupnp/pupnp/archive/release-$(UPNP_VERSION).tar.gz
PKGS += upnp
ifeq ($(call need_pkg,"libupnp >= 1.14.18"),)
PKGS_FOUND += upnp
endif
$(TARBALLS)/pupnp-release-$(UPNP_VERSION).tar.gz:
$(call download,$(UPNP_URL))
.sum-upnp: pupnp-release-$(UPNP_VERSION).tar.gz
upnp: pupnp-release-$(UPNP_VERSION).tar.gz .sum-upnp
$(UNPACK)
ifeq ($(OS),Windows_NT)
$(APPLY) $(SRC)/upnp/libupnp-windows.patch
endif
$(UPDATE_AUTOCONFIG) && cd $(UNPACK_DIR) && mv config.guess config.sub
$(MOVE)
PUPNP_OPTIONS=--disable-largefile --disable-samples --disable-device --disable-webserver --without-documentation
.upnp: upnp
ifdef HAVE_WIN32
$(RECONF)
cd $< && $(HOSTVARS) CFLAGS="-DUPNP_STATIC_LIB" ./configure $(PUPNP_OPTIONS) $(HOSTCONF)
else
$(RECONF)
cd $< && $(HOSTVARS) CFLAGS="$(CFLAGS) -DUPNP_STATIC_LIB" ./configure $(PUPNP_OPTIONS) $(HOSTCONF)
endif
cd $< && $(MAKE) install
touch $@