2
1
Эх сурвалжийг харах

smartmontools: bump to version 5.40

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Gustavo Zacarias 14 жил өмнө
parent
commit
47f8a98c5b

+ 4 - 0
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

+ 3 - 4
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))