1 ifeq ($(strip $(PKG_UNPACK
)),)
2 ifneq ($(HOST_OS
),Linux
)
3 HOST_TAR
:=trapret
2 $(TAR
)
7 ifneq ($(strip $(PKG_CAT
)),)
9 PKG_UNPACK
:=$(PKG_CAT
) $(DL_DIR
)/$(PKG_SOURCE
) |
$(HOST_TAR
) -C
$(PKG_BUILD_DIR
)/..
$(TAR_OPTIONS
)
10 ifeq ($(PKG_CAT
),unzip
)
11 PKG_UNPACK
:=unzip
-d
$(PKG_BUILD_DIR
)/..
$(DL_DIR
)/$(PKG_SOURCE
)
13 # replace zcat with $(ZCAT), because some system have it as gzcat
14 ifeq ($(PKG_CAT
),zcat
)
15 PKG_UNPACK
:=$(ZCAT
) $(DL_DIR
)/$(PKG_SOURCE
) |
$(HOST_TAR
) -C
$(PKG_BUILD_DIR
)/..
$(TAR_OPTIONS
)
18 # try to autodetect file type
This page took 0.059374 seconds and 5 git commands to generate.