kumquat-buildroot/package/igd2-for-linux/igd2-for-linux.mk
Fabrice Fontaine 846491d6a8 package/igd2-for-linux: bump to version 2.1
Move to autotools which has been added to this version to fix static
build failure with an openssl-enabled libupnp in version > 1.6

Fixes:
 - http://autobuild.buildroot.org/results/86214570ac5093d4a5a31fadae59c3f47df16948

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2021-01-26 19:44:37 +01:00

30 lines
898 B
Makefile

################################################################################
#
# igd2-for-linux
#
################################################################################
IGD2_FOR_LINUX_VERSION = 2.1
IGD2_FOR_LINUX_SITE = \
$(call github,Orange-OpenSource,igd2-for-linux,v$(IGD2_FOR_LINUX_VERSION))
IGD2_FOR_LINUX_LICENSE = GPL-2.0, BSD-3-Clause
IGD2_FOR_LINUX_LICENSE_FILES = linuxigd2/doc/LICENSE linuxigd2/src/threadutil/COPYING
IGD2_FOR_LINUX_DEPENDENCIES = libupnp
# From git
IGD2_FOR_LINUX_AUTORECONF = YES
IGD2_FOR_LINUX_SUBDIR = linuxigd2
define IGD2_FOR_LINUX_INSTALL_INIT_SYSV
$(INSTALL) -D -m 0755 package/igd2-for-linux/S99upnpd \
$(TARGET_DIR)/etc/init.d/S99upnpd
endef
define IGD2_FOR_LINUX_INSTALL_INIT_SYSTEMD
$(INSTALL) -D -m 0644 package/igd2-for-linux/upnpd.service \
$(TARGET_DIR)/usr/lib/systemd/system/upnpd.service
endef
$(eval $(autotools-package))