summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/smartmontools/Config.in4
-rw-r--r--package/smartmontools/smartmontools.mk7
2 files changed, 7 insertions, 4 deletions
diff --git a/package/smartmontools/Config.in b/package/smartmontools/Config.in
index a1541d719..18320f022 100644
--- a/package/smartmontools/Config.in
+++ b/package/smartmontools/Config.in
@@ -1,6 +1,10 @@
config BR2_PACKAGE_SMARTMONTOOLS
bool "smartmontools"
+ depends on BR2_INSTALL_LIBSTDCPP
help
Control and monitor storage systems using S.M.A.R.T.
http://smartmontools.sourceforge.net/
+
+comment "smartmontools requires a toolchain with C++ support enabled"
+ depends on !BR2_INSTALL_LIBSTDCPP
diff --git a/package/smartmontools/smartmontools.mk b/package/smartmontools/smartmontools.mk
index d768b346a..d982863e4 100644
--- a/package/smartmontools/smartmontools.mk
+++ b/package/smartmontools/smartmontools.mk
@@ -3,9 +3,8 @@
# smartmontools
#
#############################################################
-SMARTMONTOOLS_VERSION:=5.33
-SMARTMONTOOLS_SOURCE:=smartmontools-$(SMARTMONTOOLS_VERSION).tar.gz
-SMARTMONTOOLS_SITE:=http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/smartmontools
-SMARTMONTOOLS_DIR:=$(BUILD_DIR)/smartmontools-$(SMARTMONTOOLS_VERSION)
+
+SMARTMONTOOLS_VERSION = 5.40
+SMARTMONTOOLS_SITE = http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/smartmontools
$(eval $(call AUTOTARGETS,package,smartmontools))