Surprise!  libgmp uses yet another compression format ...

My work-in-progress libgmp makefile tests it, trust me :-)

Andrew
commit e66e173f93a09f25e6fd47763152c0e2b549c3f9
Author: Andrew Cagney <andrew.cag...@gmail.com>
Date:   Thu Dec 10 14:54:31 2015 -0500

    support .lz (lzip) compression

diff --git a/tools/automake.inc b/tools/automake.inc
index baa2446..7b6ba93 100644
--- a/tools/automake.inc
+++ b/tools/automake.inc
@@ -94,9 +94,11 @@ ifeq ($(AUTOMAKE_y)$(AUTOMAKE_n)$(AUTOMAKE_),)
       PKG := $(PKG:.tar.gz=)
       PKG := $(PKG:.tar.bz2=)
       PKG := $(PKG:.tar.xz=)
+      PKG := $(PKG:.tar.lz=)
       PKG := $(PKG:.tgz=)
       PKG := $(PKG:.tbz2=)
       PKG := $(PKG:.txz=)
+      PKG := $(PKG:.tlz=)
       PKG := $(PKG:.zip=)
       PKG := $(PKG:.git=)
     endif
@@ -208,6 +210,7 @@ build/$(1)-extracted: downloads/$($(1)_DOWNLOADNAME)
        *zip) rm -rf build/$(1); mkdir -p build/$(1); pkg=`pwd`/$$<; (cd 
build/$(1); unzip $$$$pkg);; \
        *bz2) bunzip2 < $$< | (cd build; tar xf -);; \
        *xz) unxz < $$< | (cd build; tar xf -);; \
+       *lz) lzip -d < $$< | (cd build; tar xf -);; \
        *) gunzip < $$< | (cd build; tar xf -);; \
        esac || exit 1
        $(AT)touch $$@
_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to