diff options
author | P. J. McDermott <pjm@nac.net> | 2013-09-09 10:30:04 (EDT) |
---|---|---|
committer | P. J. McDermott <pjm@nac.net> | 2013-09-09 10:33:29 (EDT) |
commit | ecef13f156b00c8b3c56c36695055b1d15c5fbcf (patch) | |
tree | 268cc1165289ed56f18ccd0e31dc00c1b180be41 | |
parent | 11105689e802091715eba89e638ef83811f3543d (diff) |
source.mk: Get gzip-compressed archives.
bzip2-compressed archives are unavailable for zlib 1.2.8, so use gzip for now.
-rw-r--r-- | source.mk | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,10 +1,10 @@ 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.bz2 +UPSTREAM_URL = http://zlib.net/zlib-$(UPSTREAM_VER).tar.gz SOURCE_ARCHIVE = ../zlib-$(OPK_SOURCE_VERSION_UPSTREAM).orig.tar.bz2 $(SOURCE_ARCHIVE): - wget -O - "$(UPSTREAM_URL)" | tar -xj + wget -O - "$(UPSTREAM_URL)" | tar -xz rm -f "zlib-$(UPSTREAM_VER)"/doc/rfc*.txt tar -cjf '$(SOURCE_ARCHIVE)' "zlib-$(UPSTREAM_VER)" rm -Rf src |