|
@@ -4,7 +4,7 @@
|
|
|
#
|
|
|
################################################################################
|
|
|
|
|
|
-SMCROUTE_VERSION = 2.1.1
|
|
|
+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+
|
|
@@ -14,4 +14,11 @@ 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))
|