mirror of https://git.wownero.com/dsc/mxe.git
add support for lzip archives
This commit is contained in:
parent
62329b26b9
commit
efbd2b52e5
5
Makefile
5
Makefile
|
@ -51,7 +51,7 @@ WGET = $(WGET_TOOL) --user-agent='$(or $($(1)_UA),$(DEFAULT_UA))'
|
||||||
|
|
||||||
REQUIREMENTS := autoconf automake autopoint bash bison bzip2 flex \
|
REQUIREMENTS := autoconf automake autopoint bash bison bzip2 flex \
|
||||||
$(BUILD_CC) $(BUILD_CXX) gperf intltoolize $(LIBTOOL) \
|
$(BUILD_CC) $(BUILD_CXX) gperf intltoolize $(LIBTOOL) \
|
||||||
$(LIBTOOLIZE) $(MAKE) $(OPENSSL) $(PATCH) $(PERL) python \
|
$(LIBTOOLIZE) lzip $(MAKE) $(OPENSSL) $(PATCH) $(PERL) python \
|
||||||
ruby $(SED) $(SORT) unzip wget xz 7za gdk-pixbuf-csource
|
ruby $(SED) $(SORT) unzip wget xz 7za gdk-pixbuf-csource
|
||||||
|
|
||||||
PREFIX := $(PWD)/usr
|
PREFIX := $(PWD)/usr
|
||||||
|
@ -231,13 +231,14 @@ UNPACK_ARCHIVE = \
|
||||||
$(if $(filter %.tar.Z, $(1)),tar xzf '$(1)', \
|
$(if $(filter %.tar.Z, $(1)),tar xzf '$(1)', \
|
||||||
$(if $(filter %.tbz2, $(1)),tar xjf '$(1)', \
|
$(if $(filter %.tbz2, $(1)),tar xjf '$(1)', \
|
||||||
$(if $(filter %.tar.bz2, $(1)),tar xjf '$(1)', \
|
$(if $(filter %.tar.bz2, $(1)),tar xjf '$(1)', \
|
||||||
|
$(if $(filter %.tar.lz, $(1)),lzip -dc '$(1)'| tar xf -, \
|
||||||
$(if $(filter %.tar.lzma,$(1)),xz -dc -F lzma '$(1)' | tar xf -, \
|
$(if $(filter %.tar.lzma,$(1)),xz -dc -F lzma '$(1)' | tar xf -, \
|
||||||
$(if $(filter %.txz, $(1)),xz -dc '$(1)' | tar xf -, \
|
$(if $(filter %.txz, $(1)),xz -dc '$(1)' | tar xf -, \
|
||||||
$(if $(filter %.tar.xz, $(1)),xz -dc '$(1)' | tar xf -, \
|
$(if $(filter %.tar.xz, $(1)),xz -dc '$(1)' | tar xf -, \
|
||||||
$(if $(filter %.7z, $(1)),7za x '$(1)', \
|
$(if $(filter %.7z, $(1)),7za x '$(1)', \
|
||||||
$(if $(filter %.zip, $(1)),unzip -q '$(1)', \
|
$(if $(filter %.zip, $(1)),unzip -q '$(1)', \
|
||||||
$(if $(filter %.deb, $(1)),ar x '$(1)' && tar xf data.tar*, \
|
$(if $(filter %.deb, $(1)),ar x '$(1)' && tar xf data.tar*, \
|
||||||
$(error Unknown archive format: $(1)))))))))))))
|
$(error Unknown archive format: $(1))))))))))))))
|
||||||
|
|
||||||
UNPACK_PKG_ARCHIVE = \
|
UNPACK_PKG_ARCHIVE = \
|
||||||
$(call UNPACK_ARCHIVE,$(PKG_DIR)/$($(1)_FILE))
|
$(call UNPACK_ARCHIVE,$(PKG_DIR)/$($(1)_FILE))
|
||||||
|
|
|
@ -621,6 +621,10 @@ USE_OSGPLUGIN(<plugin2>)
|
||||||
<td><a href="https://www.gnu.org/software/libtool/">Libtool</a></td>
|
<td><a href="https://www.gnu.org/software/libtool/">Libtool</a></td>
|
||||||
<td>≥ 2.2</td>
|
<td>≥ 2.2</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td><a href="http://lzip.nongnu.org/">Lzip</a></td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><a href="https://www.openssl.org/">OpenSSL</a>-dev</td>
|
<td><a href="https://www.openssl.org/">OpenSSL</a>-dev</td>
|
||||||
<td>≥ 1.01</td>
|
<td>≥ 1.01</td>
|
||||||
|
@ -694,6 +698,7 @@ USE_OSGPLUGIN(<plugin2>)
|
||||||
libssl-dev \
|
libssl-dev \
|
||||||
libtool-bin \
|
libtool-bin \
|
||||||
libxml-parser-perl \
|
libxml-parser-perl \
|
||||||
|
lzip \
|
||||||
make \
|
make \
|
||||||
openssl \
|
openssl \
|
||||||
p7zip-full \
|
p7zip-full \
|
||||||
|
@ -751,6 +756,7 @@ USE_OSGPLUGIN(<plugin2>)
|
||||||
gperf \
|
gperf \
|
||||||
intltool \
|
intltool \
|
||||||
libtool \
|
libtool \
|
||||||
|
lzip \
|
||||||
make \
|
make \
|
||||||
openssl-devel \
|
openssl-devel \
|
||||||
p7zip \
|
p7zip \
|
||||||
|
@ -858,6 +864,7 @@ USE_OSGPLUGIN(<plugin2>)
|
||||||
gperf \
|
gperf \
|
||||||
intltool \
|
intltool \
|
||||||
libtool \
|
libtool \
|
||||||
|
lzip \
|
||||||
make \
|
make \
|
||||||
openssl \
|
openssl \
|
||||||
patch \
|
patch \
|
||||||
|
@ -882,6 +889,7 @@ USE_OSGPLUGIN(<plugin2>)
|
||||||
<!-- https://packages.gentoo.org/ -->
|
<!-- https://packages.gentoo.org/ -->
|
||||||
<pre>emerge \
|
<pre>emerge \
|
||||||
app-arch/bzip2 \
|
app-arch/bzip2 \
|
||||||
|
app-arch/lzip \
|
||||||
app-arch/p7zip \
|
app-arch/p7zip \
|
||||||
app-arch/unzip \
|
app-arch/unzip \
|
||||||
app-arch/xz-utils \
|
app-arch/xz-utils \
|
||||||
|
@ -929,6 +937,7 @@ USE_OSGPLUGIN(<plugin2>)
|
||||||
gsed \
|
gsed \
|
||||||
intltool \
|
intltool \
|
||||||
libtool \
|
libtool \
|
||||||
|
lzip \
|
||||||
p7zip \
|
p7zip \
|
||||||
pkgconfig \
|
pkgconfig \
|
||||||
wget \
|
wget \
|
||||||
|
@ -947,6 +956,7 @@ USE_OSGPLUGIN(<plugin2>)
|
||||||
glib \
|
glib \
|
||||||
intltool \
|
intltool \
|
||||||
libtool \
|
libtool \
|
||||||
|
lzip \
|
||||||
p7zip \
|
p7zip \
|
||||||
sed \
|
sed \
|
||||||
tar \
|
tar \
|
||||||
|
@ -973,6 +983,7 @@ USE_OSGPLUGIN(<plugin2>)
|
||||||
gnu-tar \
|
gnu-tar \
|
||||||
intltool \
|
intltool \
|
||||||
libtool \
|
libtool \
|
||||||
|
lzip \
|
||||||
p7zip \
|
p7zip \
|
||||||
pkg-config \
|
pkg-config \
|
||||||
wget \
|
wget \
|
||||||
|
@ -1021,6 +1032,7 @@ USE_OSGPLUGIN(<plugin2>)
|
||||||
libopenssl-devel \
|
libopenssl-devel \
|
||||||
libstdc++46-devel-32bit \
|
libstdc++46-devel-32bit \
|
||||||
libtool \
|
libtool \
|
||||||
|
lzip \
|
||||||
make \
|
make \
|
||||||
openssl \
|
openssl \
|
||||||
p7zip \
|
p7zip \
|
||||||
|
@ -1064,6 +1076,7 @@ USE_OSGPLUGIN(<plugin2>)
|
||||||
intltool \
|
intltool \
|
||||||
libcurl-devel \
|
libcurl-devel \
|
||||||
libtool \
|
libtool \
|
||||||
|
lzip \
|
||||||
make \
|
make \
|
||||||
p7zip \
|
p7zip \
|
||||||
patch \
|
patch \
|
||||||
|
|
|
@ -3,9 +3,9 @@
|
||||||
PKG := wget
|
PKG := wget
|
||||||
$(PKG)_WEBSITE := https://www.gnu.org/software/wget/
|
$(PKG)_WEBSITE := https://www.gnu.org/software/wget/
|
||||||
$(PKG)_VERSION := 1.20.1
|
$(PKG)_VERSION := 1.20.1
|
||||||
$(PKG)_CHECKSUM := b783b390cb571c837b392857945f5a1f00ec6b043177cc42abb8ee1b542ee1b3
|
$(PKG)_CHECKSUM := 0f63e84dd23dc53ab3ab6f483c3afff8301e54c165783f772101cdd9b1c64928
|
||||||
$(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION)
|
$(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION)
|
||||||
$(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz
|
$(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.lz
|
||||||
$(PKG)_URL := https://ftp.gnu.org/gnu/$(PKG)/$($(PKG)_FILE)
|
$(PKG)_URL := https://ftp.gnu.org/gnu/$(PKG)/$($(PKG)_FILE)
|
||||||
$(PKG)_DEPS := cc gnutls libidn2 libntlm pcre2 pthreads
|
$(PKG)_DEPS := cc gnutls libidn2 libntlm pcre2 pthreads
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue