summaryrefslogtreecommitdiffstats
path: root/package/mrouted/mrouted.mk
blob: da4ef72f3093ff16af012e8224e111b90c005311 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#############################################################
#
# mrouted
#
#
#############################################################
MROUTED_VERSION     = 3.9.4
MROUTED_SITE        = https://github.com/troglobit/mrouted.git
MROUTED_SITE_METHOD = git

define MROUTED_BUILD_CMDS
	$(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D)
endef

define MROUTED_INSTALL_TARGET_CMDS
	$(MAKE) prefix=/usr DESTDIR=$(TARGET_DIR) -C $(@D) install
endef

define MROUTED_UNINSTALL_TARGET_CMDS
	$(MAKE) prefix=/usr DESTDIR=$(TARGET_DIR) -C $(@D) uninstall
endef

define MROUTED_CLEAN_CMDS
	$(MAKE) -C $(@D) clean
endef

$(eval $(call GENTARGETS,package,mrouted))