Changeset 2375


Ignore:
Timestamp:
Sep 17, 2014, 8:03:44 PM (4 years ago)
Author:
matthijs
Message:

build-system: Support xz compressed archives

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/openwrt/include/unpack.mk

    r1 r2375  
    3535      EXT:=tar
    3636    endif
     37    ifeq ($(filter xz txz,$(EXT)),$(EXT))
     38      EXT:=$(call ext,$(PKG_SOURCE:.$(EXT)=))
     39      UNPACK:=xzcat $(DL_DIR)/$(PKG_SOURCE) |
     40    endif
    3741    UNPACK ?= cat $(DL_DIR)/$(PKG_SOURCE) |
    3842    ifeq ($(EXT),tar)
Note: See TracChangeset for help on using the changeset viewer.