view src/src-msys-dos2unix.mk @ 5956:b8e9589b7794

octave-launch: Use Unicode strings in Windows API functions. * installer-files/octave-launch.c: Use wchar_t and Unicode Windows API functions. Use safe functions where applicable. * binary-dist-rules.mk: Compile as Unicode-aware executable.
author Markus Mützel <markus.muetzel@gmx.de>
date Sat, 20 Nov 2021 14:09:41 +0100
parents 1ecb1e67eaa1
children
line wrap: on
line source

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

PKG             := src-msys-dos2unix
$(PKG)_IGNORE   :=
$(PKG)_VERSION  := 7.4.0-1
$(PKG)_CHECKSUM := d30eec43661495eaa05456259404832277fe3e06
$(PKG)_REMOTE_SUBDIR := dos2unix/dos2unix-$($(PKG)_VERSION)
$(PKG)_SUBDIR   := 
$(PKG)_FILE     := dos2unix-$($(PKG)_VERSION)-msys-1.0.19-src.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
endef