Commit 1fad7fca authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Contribs: Add xzcat decompression tool

parent d24751a7
...@@ -185,6 +185,10 @@ endif ...@@ -185,6 +185,10 @@ endif
ACLOCAL_AMFLAGS += -I$(PREFIX)/share/aclocal ACLOCAL_AMFLAGS += -I$(PREFIX)/share/aclocal
export ACLOCAL_AMFLAGS export ACLOCAL_AMFLAGS
#########
# Tools #
#########
PKG_CONFIG ?= pkg-config PKG_CONFIG ?= pkg-config
ifdef HAVE_CROSS_COMPILE ifdef HAVE_CROSS_COMPILE
# This inhibits .pc file from within the cross-compilation toolchain sysroot. # This inhibits .pc file from within the cross-compilation toolchain sysroot.
...@@ -226,6 +230,12 @@ else ...@@ -226,6 +230,12 @@ else
download = $(error Neither curl nor wget found!) download = $(error Neither curl nor wget found!)
endif endif
ifeq ($(shell which xzcat >/dev/null 2>&1 || echo FAIL),)
XZCAT = xzcat
else
XZCAT ?= $(error xz and lzma client not found!)
endif
ifeq ($(shell which bzcat >/dev/null 2>&1 || echo FAIL),) ifeq ($(shell which bzcat >/dev/null 2>&1 || echo FAIL),)
BZCAT = bzcat BZCAT = bzcat
else else
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment