![Rahul Bedarkar](/assets/img/avatar_default.png)
We want to use SPDX identifier for license string as much as possible. SPDX short identifier for BSD-3c is BSD-3-Clause. This change is done using following command. find . -name "*.mk" | xargs sed -ri '/LICENSE( )?[\+:]?=/s/BSD-3c/BSD-3-Clause/g' Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
28 lines
716 B
Makefile
28 lines
716 B
Makefile
################################################################################
|
|
#
|
|
# mrouted
|
|
#
|
|
################################################################################
|
|
|
|
MROUTED_VERSION = 3.9.7
|
|
MROUTED_SITE = $(call github,troglobit,mrouted,$(MROUTED_VERSION))
|
|
MROUTED_DEPENDENCIES = host-bison
|
|
MROUTED_LICENSE = BSD-3-Clause
|
|
MROUTED_LICENSE_FILES = LICENSE
|
|
|
|
define MROUTED_CONFIGURE_CMDS
|
|
(cd $(@D); \
|
|
$(TARGET_MAKE_ENV) $(@D)/configure --enable-rsrr \
|
|
)
|
|
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))
|