ocrad: 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:
Baruch Siach 2017-02-12 22:15:42 +02:00 committed by Thomas Petazzoni
parent 42a7a97c27
commit bfbd42fd1c

View File

@ -10,12 +10,6 @@ OCRAD_SITE = $(BR2_GNU_MIRROR)/ocrad
OCRAD_LICENSE = GPLv3+
OCRAD_LICENSE_FILES = COPYING
OCRAD_INSTALL_STAGING = YES
OCRAD_DEPENDENCIES = host-lzip
define OCRAD_EXTRACT_CMDS
$(HOST_DIR)/usr/bin/lzip -d -c $(DL_DIR)/$(OCRAD_SOURCE) | \
tar --strip-components=1 -C $(@D) $(TAR_OPTIONS) -
endef
# This is not a true autotools package.
define OCRAD_CONFIGURE_CMDS