ocrad: bump to version 0.25
authorGilles Talis <gilles.talis@gmail.com>
Sat, 7 Jan 2017 14:06:10 +0000 (15:06 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 25 Jan 2017 10:25:07 +0000 (23:25 +1300)
Signed-off-by: Gilles Talis <gilles.talis@gmail.com>
[Thomas:
 - fix indentation.]
 - use $(TAR_OPTIONS) instead of hardcoding -xf.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/ocrad/ocrad.hash
package/ocrad/ocrad.mk

index c40907bcb47de00849405735942fd69c200db916..d2a44ae77f8dcb20b1c81c6e528f6989c01230d6 100644 (file)
@@ -1,2 +1,2 @@
 # Locally calculated after checking pgp signature
-sha256 4ec711239d6b667bac015ef9908cab3ea9f8fd73f098ae355498810c8e82a8cc        ocrad-0.21.tar.gz
+sha256 e710be9c030fbcbce2315077326c8268feb422c0bc39fa744644cbbd1f5d4dd4        ocrad-0.25.tar.lz
index 7e4f8c1bb9b6770a3ffd50cc661462d8f5da635c..d19e83ef4279d65e8b0cc21aaec2eb1f9082d3d7 100644 (file)
@@ -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