2016-07-21 14:05:57 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# igd2-for-linux
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2021-01-26 18:47:20 +01:00
|
|
|
IGD2_FOR_LINUX_VERSION = 2.1
|
2021-01-25 20:49:46 +01:00
|
|
|
IGD2_FOR_LINUX_SITE = \
|
|
|
|
$(call github,Orange-OpenSource,igd2-for-linux,v$(IGD2_FOR_LINUX_VERSION))
|
2016-07-21 14:05:57 +02:00
|
|
|
|
2021-01-25 20:49:46 +01:00
|
|
|
IGD2_FOR_LINUX_LICENSE = GPL-2.0, BSD-3-Clause
|
|
|
|
IGD2_FOR_LINUX_LICENSE_FILES = linuxigd2/doc/LICENSE linuxigd2/src/threadutil/COPYING
|
2016-07-21 14:05:57 +02:00
|
|
|
|
|
|
|
IGD2_FOR_LINUX_DEPENDENCIES = libupnp
|
2021-01-26 18:47:20 +01:00
|
|
|
# From git
|
|
|
|
IGD2_FOR_LINUX_AUTORECONF = YES
|
|
|
|
IGD2_FOR_LINUX_SUBDIR = linuxigd2
|
2016-07-21 14:05:57 +02:00
|
|
|
|
|
|
|
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
|
|
|
|
|
2021-01-26 18:47:20 +01:00
|
|
|
$(eval $(autotools-package))
|