From a21d2c94091596ecf9a66726265eb5641c35d653 Mon Sep 17 00:00:00 2001 From: Gilles Talis Date: Sat, 7 Jan 2017 15:06:10 +0100 Subject: [PATCH] ocrad: bump to version 0.25 Signed-off-by: Gilles Talis [Thomas: - fix indentation.] - use $(TAR_OPTIONS) instead of hardcoding -xf.] Signed-off-by: Thomas Petazzoni --- package/ocrad/ocrad.hash | 2 +- package/ocrad/ocrad.mk | 9 ++++++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/package/ocrad/ocrad.hash b/package/ocrad/ocrad.hash index c40907bcb4..d2a44ae77f 100644 --- a/package/ocrad/ocrad.hash +++ b/package/ocrad/ocrad.hash @@ -1,2 +1,2 @@ # Locally calculated after checking pgp signature -sha256 4ec711239d6b667bac015ef9908cab3ea9f8fd73f098ae355498810c8e82a8cc ocrad-0.21.tar.gz +sha256 e710be9c030fbcbce2315077326c8268feb422c0bc39fa744644cbbd1f5d4dd4 ocrad-0.25.tar.lz diff --git a/package/ocrad/ocrad.mk b/package/ocrad/ocrad.mk index 7e4f8c1bb9..d19e83ef42 100644 --- a/package/ocrad/ocrad.mk +++ b/package/ocrad/ocrad.mk @@ -4,11 +4,18 @@ # ################################################################################ -OCRAD_VERSION = 0.21 +OCRAD_VERSION = 0.25 +OCRAD_SOURCE = ocrad-$(OCRAD_VERSION).tar.lz 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 -- 2.30.2