5b5ef4bbee
Add optional dependency on libcap, which exists since this version bump. Signed-off-by: Thomas Faivre <thomas.faivre@6wind.com> [Thomas: add explicit --with-libcap.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
25 lines
763 B
Makefile
25 lines
763 B
Makefile
################################################################################
|
|
#
|
|
# smcroute
|
|
#
|
|
################################################################################
|
|
|
|
SMCROUTE_VERSION = 2.3.1
|
|
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))
|