view src/msys-dos2unix.mk @ 6345:ecc4c238a1ab release octave-release-7.2.0

Update version numbers and build rules for Octave 7.2.0 release. * src/stable-octave.mk: Update version to 7.2.1. * src/release-octave.mk: Update version to 7.2.0. Update checksum and URL for release.
author John W. Eaton <jwe@octave.org>
date Thu, 28 Jul 2022 10:14:53 -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