diff options
author | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2019-04-29 11:28:34 (EDT) |
---|---|---|
committer | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2019-04-29 11:28:34 (EDT) |
commit | de73254734b7f4ef85b5fd84ddcecd8335924e3a (patch) | |
tree | 1fb95ab812b5ade9d2feb20039b3a5bce28a2486 | |
parent | f4691ddd85f907af935a43468cb3d65d99ff5f12 (diff) |
source.mk: Repack with gzip compression
-rw-r--r-- | source.mk | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |