Mercurial > mxe-octave
view src/msys-libmagic.mk @ 6306:358d242b5875
* src/sdl_image.mk: disable updates on old package
author | John Donoghue <john.donoghue@ieee.org> |
---|---|
date | Tue, 12 Jul 2022 15:52:15 -0400 |
parents | d95b8b84cea7 |
children |
line wrap: on
line source
# This file is part of MXE. # See index.html for further information. PKG := msys-libmagic $(PKG)_IGNORE := $(PKG)_VERSION := 5.04-1 $(PKG)_CHECKSUM := 95de5e98b2067daaa499025854f4e4c6240a5bf9 $(PKG)_REMOTE_SUBDIR := file/file-$($(PKG)_VERSION) $(PKG)_SUBDIR := $(PKG)_FILE := libmagic-$($(PKG)_VERSION)-msys-1.0.13-dll-1.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