Also add hash file.
And make the libsgutils2 support (from sg3_utils) deterministic.
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
--- /dev/null
+# Locally calculated
+sha256 0f5e07438ef56e045443bd827008a38076e029558b00adbfc45f9cc8a5c75349 sdparm-1.09.tar.xz
#
################################################################################
-SDPARM_VERSION = 1.08
-SDPARM_SOURCE = sdparm-$(SDPARM_VERSION).tgz
+SDPARM_VERSION = 1.09
+SDPARM_SOURCE = sdparm-$(SDPARM_VERSION).tar.xz
SDPARM_SITE = http://sg.danny.cz/sg/p
SDPARM_LICENSE = BSD-3c
SDPARM_LICENSE_FILES = COPYING
+ifeq ($(BR2_PACKAGE_SG3_UTILS),y)
+SDPARM_DEPENDENCIES += sg3_utils
+else
+SDPARM_CONF_OPTS += --disable-libsgutils
+endif
+
$(eval $(autotools-package))