2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2004-03-11 18:35:09 +01:00
|
|
|
#
|
|
|
|
# mrouted
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2012-05-11 11:37:37 +02:00
|
|
|
|
2015-01-02 13:39:40 +01:00
|
|
|
MROUTED_VERSION = 3.9.7
|
2014-10-12 19:58:13 +02:00
|
|
|
MROUTED_SITE = $(call github,troglobit,mrouted,$(MROUTED_VERSION))
|
2013-03-24 22:34:59 +01:00
|
|
|
MROUTED_DEPENDENCIES = host-bison
|
2015-01-02 13:39:40 +01:00
|
|
|
MROUTED_LICENSE = BSD-3c
|
|
|
|
MROUTED_LICENSE_FILES = LICENSE
|
|
|
|
|
|
|
|
define MROUTED_CONFIGURE_CMDS
|
|
|
|
(cd $(@D); \
|
|
|
|
$(TARGET_MAKE_ENV) $(@D)/configure --enable-rsrr \
|
|
|
|
)
|
|
|
|
endef
|
2004-03-11 18:35:09 +01:00
|
|
|
|
2010-12-12 22:53:49 +01:00
|
|
|
define MROUTED_BUILD_CMDS
|
2016-10-17 18:06:03 +02:00
|
|
|
$(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D)
|
2010-12-12 22:53:49 +01:00
|
|
|
endef
|
2004-03-11 18:35:09 +01:00
|
|
|
|
2010-12-12 22:53:49 +01:00
|
|
|
define MROUTED_INSTALL_TARGET_CMDS
|
2016-10-17 18:06:03 +02:00
|
|
|
$(TARGET_MAKE_ENV) $(MAKE) prefix=/usr DESTDIR=$(TARGET_DIR) -C $(@D) install
|
2010-12-12 22:53:49 +01:00
|
|
|
endef
|
2004-03-11 18:35:09 +01:00
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(generic-package))
|