Mercurial > mxe-octave
view src/msys-xz.mk @ 3292:fda357ce9f64
* Makefile.in: Generate files list, when supported by the module.
Passes a temporary directory to the $(PKG)_BUILD macro, intended to be
used as a DESTDIR during installation. When the directory is created
by the build step, a files list is generated and the files or copied
over to the real installation directory.
author | Michael Goffioul <michael.goffioul@gmail.com> |
---|---|
date | Sat, 09 Nov 2013 23:28:03 -0500 |
parents | 100e618349f7 |
children |
line wrap: on
line source
# This file is part of MXE. # See index.html for further information. PKG := msys-xz $(PKG)_IGNORE := $(PKG)_CHECKSUM := $(PKG)_REMOTE_SUBDIR := xz/xz-$($(PKG)_VERSION) $(PKG)_SUBDIR := $(PKG)_FILE := xz-$($(PKG)_VERSION)-msys-1.0.17-bin.tar.lzma $(PKG)_URL := $(MSYS_BASE_URL)/$($(PKG)_REMOTE_SUBDIR)/$($(PKG)_FILE)/download $(PKG)_DEPS := define $(PKG)_UPDATE echo 'Warning: Updates are temporarily disabled for package $(PKG).' >&2; echo $($(PKG)_VERSION) endef define $(PKG)_BUILD mkdir -p '$(MSYS_BASE_DIR)' cd '$(1)' && tar cf - . | ( cd '$(MSYS_BASE_DIR)'; tar xpf - ) mkdir -p '$(MSYS_INFO_DIR)' cd '$(1)' && find . > '$(MSYS_INFO_DIR)'/$(PKG).list endef