![Marcel Patzlaff](/assets/img/avatar_default.png)
While at it, add a hash for the license file. Signed-off-by: Marcel Patzlaff <m.patzlaff@pilz.de> [Thomas: add hash for license file.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
25 lines
763 B
Makefile
25 lines
763 B
Makefile
################################################################################
|
|
#
|
|
# smcroute
|
|
#
|
|
################################################################################
|
|
|
|
SMCROUTE_VERSION = 2.4.2
|
|
SMCROUTE_SOURCE = smcroute-$(SMCROUTE_VERSION).tar.xz
|
|
SMCROUTE_SITE = https://github.com/troglobit/smcroute/releases/download/$(SMCROUTE_VERSION)
|
|
SMCROUTE_LICENSE = GPL-2.0+
|
|
SMCROUTE_LICENSE_FILES = COPYING
|
|
|
|
SMCROUTE_CONF_OPTS = ac_cv_func_setpgrp_void=yes
|
|
#BUG:The package Makefile uses CC?= even though the package is autotools based
|
|
SMCROUTE_MAKE_ENV = $(TARGET_CONFIGURE_OPTS)
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBCAP),y)
|
|
SMCROUTE_DEPENDENCIES = libcap
|
|
SMCROUTE_CONF_OPTS += --with-libcap
|
|
else
|
|
SMCROUTE_CONF_OPTS += --without-libcap
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|