Mercurial > mxe-octave
view src/msys-dos2unix.mk @ 6147:ccb904fafc30 release
Added tag octave-release-7.1.0 for changeset 2e6af23c6cb7
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Wed, 06 Apr 2022 10:43:19 -0400 |
parents | f3c8a0461199 |
children |
line wrap: on
line source
# This file is part of MXE. # See index.html for further information. PKG := msys-dos2unix $(PKG)_IGNORE := $(PKG)_VERSION := 7.4.0-1 $(PKG)_CHECKSUM := 837734cd2a51c06dbb764f04986ebe30e31a4c15 $(PKG)_REMOTE_SUBDIR := dos2unix/dos2unix-$($(PKG)_VERSION) $(PKG)_SUBDIR := $(PKG)_FILE := dos2unix-$($(PKG)_VERSION)-msys-1.0.19-bin.tar.lzma $(PKG)_URL := $(MSYS_EXTENSION_URL)/$($(PKG)_REMOTE_SUBDIR)/$($(PKG)_FILE)/download $(PKG)_DEPS := define $(PKG)_UPDATE $(WGET) -q -O- '$(MSYS_EXTENSION_URL)/dos2unix' | \ $(SED) -n 's,.*title="dos2unix-\([0-9][^"]*\)".*,\1,p' | \ head -1 endef define $(PKG)_BUILD mkdir -p '$(MSYS_EXTENSION_DIR)' cd '$(1)' && tar cf - . | ( cd '$(MSYS_EXTENSION_DIR)'; tar xpf - ) mkdir -p '$(MSYS_INFO_DIR)' cd '$(1)' && find . > '$(MSYS_INFO_DIR)'/$(PKG).list endef