aboutsummaryrefslogtreecommitdiff
path: root/package/mrouted/mrouted.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/mrouted/mrouted.mk')
-rw-r--r--package/mrouted/mrouted.mk24
1 files changed, 9 insertions, 15 deletions
diff --git a/package/mrouted/mrouted.mk b/package/mrouted/mrouted.mk
index b9a4eaba45..4e3715b445 100644
--- a/package/mrouted/mrouted.mk
+++ b/package/mrouted/mrouted.mk
@@ -4,24 +4,18 @@
#
################################################################################
-MROUTED_VERSION = 3.9.8
-MROUTED_SITE = $(call github,troglobit,mrouted,$(MROUTED_VERSION))
+MROUTED_VERSION = 4.1
+MROUTED_SITE = \
+ https://github.com/troglobit/mrouted/releases/download/$(MROUTED_VERSION)
MROUTED_DEPENDENCIES = host-bison
MROUTED_LICENSE = BSD-3-Clause
MROUTED_LICENSE_FILES = LICENSE
+MROUTED_CONFIGURE_OPTS = --enable-rsrr
+MROUTED_CPE_ID_VENDOR = troglobit
-define MROUTED_CONFIGURE_CMDS
- (cd $(@D); \
- $(TARGET_MAKE_ENV) $(@D)/configure --enable-rsrr \
- )
+define MROUTED_INSTALL_INIT_SYSTEMD
+ $(INSTALL) -D -m 644 $(@D)/mrouted.service \
+ $(TARGET_DIR)/usr/lib/systemd/system/mrouted.service
endef
-define MROUTED_BUILD_CMDS
- $(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D)
-endef
-
-define MROUTED_INSTALL_TARGET_CMDS
- $(TARGET_MAKE_ENV) $(MAKE) prefix=/usr DESTDIR=$(TARGET_DIR) -C $(@D) install
-endef
-
-$(eval $(generic-package))
+$(eval $(autotools-package))