view src/msys-file.mk @ 6067:1a4cd1dde869 release

of_communications: update to v1.2.4 * src/of-communications-1-catop.patch: removed file * src/of-communications-2-error_state.patch: removed file * dist-files.mk: removed ref to removed filed * dist-files.mk: update version, checksum (grafted from 4d6eba975aa4278d559a31d28e88fa7333e11ff2)
author John Donoghue <john.donoghue@ieee.org>
date Mon, 24 Jan 2022 08:30:50 -0500
parents ae4193aad5fe
children
line wrap: on
line source

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

PKG             := msys-file
$(PKG)_IGNORE   :=
$(PKG)_VERSION  := 5.04-1
$(PKG)_CHECKSUM := 9d38d45a66ff2b72d732397a9e23a12e347ae41f
$(PKG)_REMOTE_SUBDIR := file/file-$($(PKG)_VERSION)
$(PKG)_SUBDIR   := 
$(PKG)_FILE     := file-$($(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)/file' | \
    $(SED) -n 's,.*title="file-\([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