comparison Makefile.in @ 4236:49430638c5bd

build-lzip: New package.
author John W. Eaton <jwe@octave.org>
date Fri, 28 Oct 2016 10:06:54 -0400
parents b9703b830bf2
children 724749afb8b5
comparison
equal deleted inserted replaced
4235:89e757c2ec72 4236:49430638c5bd
474 474
475 UNPACK_ARCHIVE = \ 475 UNPACK_ARCHIVE = \
476 $(if $(filter %.tgz, $(1)),$(3) xzf '$(1)', \ 476 $(if $(filter %.tgz, $(1)),$(3) xzf '$(1)', \
477 $(if $(filter %.tar.gz, $(1)),$(3) xzf '$(1)', \ 477 $(if $(filter %.tar.gz, $(1)),$(3) xzf '$(1)', \
478 $(if $(filter %.tar.bz2, $(1)),$(3) xjf '$(1)', \ 478 $(if $(filter %.tar.bz2, $(1)),$(3) xjf '$(1)', \
479 $(if $(filter %.tar.lz, $(1)),$(3) xaf '$(1)', \
479 $(if $(filter %.tar.lzma,$(1)),xz -dc -F lzma '$(1)' | $(3) xf -, \ 480 $(if $(filter %.tar.lzma,$(1)),xz -dc -F lzma '$(1)' | $(3) xf -, \
480 $(if $(filter %.tar.xz,$(1)),xz -dc '$(1)' | $(3) xf -, \ 481 $(if $(filter %.tar.xz,$(1)),xz -dc '$(1)' | $(3) xf -, \
481 $(if $(filter %.zip, $(1)),unzip -q '$(1)', \ 482 $(if $(filter %.zip, $(1)),unzip -q '$(1)', \
482 $(error Unknown archive format for $(2): $(1)))))))) 483 $(error Unknown archive format for $(2): $(1)))))))))
483 484
484 UNPACK_PKG_ARCHIVE = \ 485 UNPACK_PKG_ARCHIVE = \
485 $(if $(value $(1)_FILE),$(call UNPACK_ARCHIVE,$(PKG_DIR)/$($(1)_FILE),$(1),$(2)),true) 486 $(if $(value $(1)_FILE),$(call UNPACK_ARCHIVE,$(PKG_DIR)/$($(1)_FILE),$(1),$(2)),true)
486 487
487 PKG_CHECKSUM = \ 488 PKG_CHECKSUM = \