mirror of https://git.wownero.com/dsc/mxe.git
unpack .tar.xz archives
This commit is contained in:
parent
30191c0c62
commit
0d2b6b3126
3
Makefile
3
Makefile
|
@ -44,8 +44,9 @@ UNPACK_ARCHIVE = \
|
|||
$(if $(filter %.tar.gz, $(1)),tar xzf '$(1)', \
|
||||
$(if $(filter %.tar.bz2, $(1)),tar xjf '$(1)', \
|
||||
$(if $(filter %.tar.lzma,$(1)),xz -dc -F lzma '$(1)' | tar xf -, \
|
||||
$(if $(filter %.tar.xz,$(1)),xz -dc '$(1)' | tar xf -, \
|
||||
$(if $(filter %.zip, $(1)),unzip -q '$(1)', \
|
||||
$(error Unknown archive format: $(1)))))))
|
||||
$(error Unknown archive format: $(1))))))))
|
||||
|
||||
UNPACK_PKG_ARCHIVE = \
|
||||
$(call UNPACK_ARCHIVE,$(PKG_DIR)/$($(1)_FILE))
|
||||
|
|
Loading…
Reference in New Issue