PKG_NAME:=smartmontools
PKG_VERSION:=5.37
-PKG_RELEASE:=1
+PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=@SF/smartmontools
define Package/smartmontools
SECTION:=utils
CATEGORY:=Utilities
+ DEPENDS:=+libstdcpp
TITLE:=S.M.A.R.T Monitoring Tool
DESCRIPTION:=\
smartmontools contains utility programs (smartctl, smartd) to \\\
$(INSTALL_DIR) $(1)/etc
$(INSTALL_DATA) ./files/smartd.conf $(1)/etc
$(INSTALL_DIR) $(1)/etc/init.d
- $(INSTALL_DATA) ./files/smartd.init $(1)/etc/init.d/smartd
+ $(INSTALL_BIN) ./files/smartd.init $(1)/etc/init.d/smartd
endef
$(eval $(call BuildPackage,smartmontools))
-$(eval $(call RequireCommand,automake, \
- $(PKG_NAME) requires automake. \
+$(eval $(call RequireCommand,automake-1.9, \
+ $(PKG_NAME) requires automake 1.9 or compatible. \
))