From b0f15f8a4210e849b34c01d63be9e63ac2093632 Mon Sep 17 00:00:00 2001 From: Boris Nagaev Date: Mon, 7 Dec 2015 01:15:59 +0300 Subject: add unpacker for .deb files --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 96459f4..9735725 100644 --- a/Makefile +++ b/Makefile @@ -168,7 +168,8 @@ UNPACK_ARCHIVE = \ $(if $(filter %.tar.xz, $(1)),xz -dc '$(1)' | tar xf -, \ $(if $(filter %.7z, $(1)),7za x '$(1)', \ $(if $(filter %.zip, $(1)),unzip -q '$(1)', \ - $(error Unknown archive format: $(1))))))))))) + $(if $(filter %.deb, $(1)),ar x '$(1)' && tar xf data.tar*, \ + $(error Unknown archive format: $(1)))))))))))) UNPACK_PKG_ARCHIVE = \ $(call UNPACK_ARCHIVE,$(PKG_DIR)/$($(1)_FILE)) -- cgit v0.12