diff options
author | Martin Gerhardy <martin.gerhardy@gmail.com> | 2015-06-29 06:34:40 (GMT) |
---|---|---|
committer | Martin Gerhardy <martin.gerhardy@gmail.com> | 2015-06-29 06:34:46 (GMT) |
commit | 3559d54844398c7630ed74ece055a9e2b4ec3626 (patch) | |
tree | d0c6fc0dd28b3d22255c6d399340e93a8b9935b2 /Makefile | |
parent | 6e6c2ab143bb4b580474cc96ddf1f4fab2584eab (diff) | |
download | mxe-3559d54844398c7630ed74ece055a9e2b4ec3626.zip mxe-3559d54844398c7630ed74ece055a9e2b4ec3626.tar.gz mxe-3559d54844398c7630ed74ece055a9e2b4ec3626.tar.bz2 |
new package box2d
this introduces a new dependency for unpacking the 7z archive from Box2D
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -37,7 +37,7 @@ WGET := wget --no-check-certificate \ REQUIREMENTS := autoconf automake autopoint bash bison bzip2 cmake flex \ gcc g++ gperf intltoolize $(LIBTOOL) $(LIBTOOLIZE) \ $(MAKE) openssl $(PATCH) $(PERL) python ruby scons \ - $(SED) $(SORT) unzip wget xz + $(SED) $(SORT) unzip wget xz 7z PREFIX := $(PWD)/usr LOG_DIR := $(PWD)/log @@ -138,8 +138,9 @@ UNPACK_ARCHIVE = \ $(if $(filter %.tar.lzma,$(1)),xz -dc -F lzma '$(1)' | tar xf -, \ $(if $(filter %.txz, $(1)),xz -dc '$(1)' | tar xf -, \ $(if $(filter %.tar.xz, $(1)),xz -dc '$(1)' | tar xf -, \ + $(if $(filter %.7z, $(1)),7z x '$(1)', \ $(if $(filter %.zip, $(1)),unzip -q '$(1)', \ - $(error Unknown archive format: $(1)))))))))) + $(error Unknown archive format: $(1))))))))))) UNPACK_PKG_ARCHIVE = \ $(call UNPACK_ARCHIVE,$(PKG_DIR)/$($(1)_FILE)) |