From bc0b9741cff66d18fbbc2673833060cecfe14c24 Mon Sep 17 00:00:00 2001 From: Thomas Hobson Date: Sat, 27 Feb 2021 19:50:23 +1300 Subject: [PATCH] pkg(common): add tar.xz helper --- packages/common.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/common.mk b/packages/common.mk index 3ceec09..82ff19c 100644 --- a/packages/common.mk +++ b/packages/common.mk @@ -62,6 +62,8 @@ ${INFO_FILE}: # Helpers %/: %.tar.gz cd ${BUILD_DIR} && tar xzf $(patsubst ${BUILD_DIR}%,%,$<) +%/: %.tar.xz + cd ${BUILD_DIR} && tar xf $(patsubst ${BUILD_DIR}%,%,$<) %.json: %.jq jq '$(shell tr '\n' '|' < $<).' <<< "{}" > $@ \ No newline at end of file