kumquat-buildroot/package/networkd-dispatcher/networkd-dispatcher.mk
Michael Nosthoff b851097ba6 package/networkd-dispatcher: bump to version 2.2.4
Signed-off-by: Michael Nosthoff <buildroot@heine.tech>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2023-02-21 09:48:50 +01:00

26 lines
1.1 KiB
Makefile

################################################################################
#
# networkd-dispatcher
#
################################################################################
NETWORKD_DISPATCHER_VERSION = 2.2.4
NETWORKD_DISPATCHER_SOURCE = networkd-dispatcher-$(NETWORKD_DISPATCHER_VERSION).tar.bz2
NETWORKD_DISPATCHER_SITE = https://gitlab.com/craftyguy/networkd-dispatcher/-/archive/$(NETWORKD_DISPATCHER_VERSION)
NETWORKD_DISPATCHER_LICENSE = GPL-3.0
NETWORKD_DISPATCHER_LICENSE_FILES = LICENSE
define NETWORKD_DISPATCHER_INSTALL_TARGET_CMDS
$(INSTALL) -D -m 0755 $(@D)/networkd-dispatcher $(TARGET_DIR)/usr/bin/networkd-dispatcher
mkdir -p $(TARGET_DIR)/etc/networkd-dispatcher/{routable,dormant,no-carrier,off,carrier,degraded,configuring,configured}.d
endef
define NETWORKD_DISPATCHER_INSTALL_INIT_SYSTEMD
$(INSTALL) -D -m 0644 $(@D)/networkd-dispatcher.service \
$(TARGET_DIR)/usr/lib/systemd/system/networkd-dispatcher.service
$(INSTALL) -D -m 0644 $(@D)/networkd-dispatcher.conf \
$(TARGET_DIR)/etc/conf.d/networkd-dispatcher.conf
endef
$(eval $(generic-package))