view src/msys-sed.mk @ 5650:6805ab42c8aa

Don't convert to short paths for default-octave target (bug #59923). * installer-files/octave-no-shortpath.patch, installer-files/octave-bat-no-shortpath.patch, installer-files/cmdshell-no-shortpath.patch: Add patches that remove conversion of path to short file names from scripts. * binary-dist-rules.mk: Apply new patches for default-octave target. * dist-files.mk: Add new files to build system.
author Markus Mützel <markus.muetzel@gmx.de>
date Sun, 31 Jan 2021 18:38:38 +0100
parents ae4193aad5fe
children
line wrap: on
line source

# This file is part of MXE.
# See index.html for further information.

PKG             := msys-sed
$(PKG)_IGNORE   :=
$(PKG)_VERSION  := 4.2.1-2
$(PKG)_CHECKSUM := ced60ab96ab3f713da0d0a570232f2a5f0ec5270
$(PKG)_REMOTE_SUBDIR := sed/sed-$($(PKG)_VERSION)
$(PKG)_SUBDIR   := 
$(PKG)_FILE     := sed-$($(PKG)_VERSION)-msys-1.0.13-bin.tar.lzma
$(PKG)_URL      := $(MSYS_BASE_URL)/$($(PKG)_REMOTE_SUBDIR)/$($(PKG)_FILE)/download
$(PKG)_DEPS     := 

define $(PKG)_UPDATE
    $(WGET) -q -O- '$(MSYS_BASE_URL)/sed' | \
    $(SED) -n 's,.*title="sed-\([0-9][^"]*\)".*,\1,p' | \
    head -1
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