ddrescue: use generic extract command
The generic code now knows how to extract .tar.lz archives. Remove the local extract code Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
77941272f4
commit
42a7a97c27
@ -9,12 +9,6 @@ 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
|
||||
|
||||
define DDRESCUE_CONFIGURE_CMDS
|
||||
(cd $(@D); \
|
||||
|
Loading…
Reference in New Issue
Block a user