aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--package/ocrad/ocrad.hash2
-rw-r--r--package/ocrad/ocrad.mk9
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