aboutsummaryrefslogtreecommitdiff
path: root/package/ocrad/ocrad.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/ocrad/ocrad.mk')
-rw-r--r--package/ocrad/ocrad.mk9
1 files changed, 8 insertions, 1 deletions
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