F: configs/raspberrypi3_defconfig
F: package/assimp/
F: package/bcm2835/
+F: package/ddrescue/
F: package/dejavu/
F: package/dillo/
F: package/edid-decode/
source "package/coreutils/Config.in"
source "package/cpuload/Config.in"
source "package/dcron/Config.in"
+ source "package/ddrescue/Config.in"
source "package/debianutils/Config.in"
source "package/docker-containerd/Config.in"
source "package/docker-engine/Config.in"
--- /dev/null
+config BR2_PACKAGE_DDRESCUE
+ bool "ddrescue"
+ help
+ GNU ddrescue is a data recovery tool. It copies data from one file
+ or block device (hard disc, cdrom, etc) to another, trying to
+ rescue the good parts first in case of read errors.
+
+ http://www.gnu.org/software/ddrescue/ddrescue.html
--- /dev/null
+# From http://lists.gnu.org/archive/html/info-gnu/2017-02/msg00003.html
+sha1 df981672a612639ad0934e3fa6546a41d2feb99e ddrescue-1.22.tar.lz
--- /dev/null
+################################################################################
+#
+# ddrescue
+#
+################################################################################
+
+DDRESCUE_VERSION = 1.22
+DDRESCUE_SOURCE = ddrescue-$(DDRESCUE_VERSION).tar.lz
+DDRESCUE_SITE = http://download.savannah.gnu.org/releases/ddrescue
+DDRESCUE_LICENSE = GPLv2+
+DDRESCUE_LICENSE_FILES = COPYING
+DDRESCUE_DEPENDENCIES = host-lzip
+
+define DDRESCUE_EXTRACT_CMDS
+ $(HOST_DIR)/usr/bin/lzip -d -c $(DL_DIR)/$(DDRESCUE_SOURCE) | \
+ tar --strip-components=1 -C $(@D) $(TAR_OPTIONS) -
+endef
+
+$(eval $(autotools-package))