Mercurial > mxe-octave
changeset 1555:1669134dcd03
unpack .tar.xz archives
author | Mark Brand <mabrand@mabrand.nl> |
---|---|
date | Fri, 21 Jan 2011 11:37:49 +0100 |
parents | 3b49412a7e1b |
children | 8f4c31ee4441 |
files | Makefile |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/Makefile Fri Jan 21 11:26:18 2011 +0100 +++ b/Makefile Fri Jan 21 11:37:49 2011 +0100 @@ -44,8 +44,9 @@ $(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))