From fe7f6cb97eb7f17d76482971520ef74dabf91a26 Mon Sep 17 00:00:00 2001 From: "Tom G. Christensen" Date: Sat, 14 Apr 2018 14:08:12 +0200 Subject: [PATCH] Add support for lz compressed tar archives --- buildpkg.functions | 1 + buildpkg.tools | 1 + 2 files changed, 2 insertions(+) diff --git a/buildpkg.functions b/buildpkg.functions index 6dbb983..a65096e 100644 --- a/buildpkg.functions +++ b/buildpkg.functions @@ -436,6 +436,7 @@ unpack() 'Z') ${__gzip} -dc $absfile | ${__tar} -xf -;; 'tgz') ${__gzip} -dc $absfile | ${__tar} -xf -;; 'xz') ${__xz} -dc $absfile | ${__tar} -xf -;; + 'lz') ${__lzip} -dc $absfile | ${__tar} -xf -;; 'zip') ${__unzip} -q $absfile;; *) error $E_BAD_COMPRESS unpack esac diff --git a/buildpkg.tools b/buildpkg.tools index adcf1ab..e790437 100644 --- a/buildpkg.tools +++ b/buildpkg.tools @@ -9,6 +9,7 @@ __vtar=/usr/bin/tar # vendor supplied tar __bzip2=/usr/tgcware/bin/bzip2 __gzip=/usr/tgcware/bin/gzip __xz=/usr/tgcware/bin/xz +__lzip=/usr/tgcware/bin/lzip __patch=/usr/tgcware/bin/patch # GNU patch 2.5 or better please! __rm=/usr/bin/rm __rmdir=/usr/bin/rmdir