diff --git a/package/smartmontools/Config.in b/package/smartmontools/Config.in index a1541d719f..18320f0225 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 d768b346a3..d982863e47 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))