From de73254734b7f4ef85b5fd84ddcecd8335924e3a Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Mon, 29 Apr 2019 11:28:34 -0400 Subject: source.mk: Repack with gzip compression --- diff --git a/source.mk b/source.mk index b7e0ceb..f28d7f6 100644 --- a/source.mk +++ b/source.mk @@ -1,12 +1,12 @@ upstream_ver = $$(printf '%s\n' '$(OPK_SOURCE_VERSION_UPSTREAM)' | \ sed 's/^\([0-9a-z.~-][0-9a-z.~-]*\)+sip[1-9][0-9]*.*$$/\1/') upstream_url = http://zlib.net/zlib-$(upstream_ver).tar.gz -source_archive = ../zlib-$(OPK_SOURCE_VERSION_UPSTREAM).orig.tar.bz2 +source_archive = ../zlib-$(OPK_SOURCE_VERSION_UPSTREAM).orig.tar.gz $(source_archive): wget -O - "$(upstream_url)" | tar -xz rm -f "zlib-$(upstream_ver)"/doc/rfc*.txt - tar -cjf '$(source_archive)' "zlib-$(upstream_ver)" + tar -czf '$(source_archive)' "zlib-$(upstream_ver)" rm -Rf src mv "zlib-$(upstream_ver)" src -- cgit v0.9.1