Changeset 22517


Ignore:
Timestamp:
2010-08-06T23:29:23+02:00 (8 years ago)
Author:
jow
Message:

[include] support unpacking of .tar.xz archives, no prereq on xzcat for now

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/unpack.mk

    r14659 r22517  
    3333      DECOMPRESS_CMD:=bzcat $(DL_DIR)/$(PKG_SOURCE) | 
    3434    endif 
    35     ifeq ($(filter tgz tbz tbz2,$(EXT1)),$(EXT1)) 
     35    ifeq ($(filter xz txz,$(EXT)),$(EXT)) 
     36      EXT:=$(call ext,$(PKG_SOURCE:.$(EXT)=)) 
     37      DECOMPRESS_CMD:=xzcat $(DL_DIR)/$(PKG_SOURCE) | 
     38    endif 
     39    ifeq ($(filter tgz tbz tbz2 txz,$(EXT1)),$(EXT1)) 
    3640      EXT:=tar 
    3741    endif 
Note: See TracChangeset for help on using the changeset viewer.