view src/msys-patch.mk @ 4654:b9e4ebcad82f

disable doc extraction for optim package Disable the rules for extracting doc strings because they don't work when cross compiling. Our patches to the source files don't touch the doc strings, so there is no need to update them anyway.
author John W. Eaton <jwe@octave.org>
date Tue, 10 Apr 2018 07:50:10 -0400
parents ae4193aad5fe
children
line wrap: on
line source

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

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