view src/msys-bash.mk @ 3989:cdbce8086eaa

of-ocs: new package * Makefile.in: add ocs to OCTAVE_FORGE_PACKAGES * build_packages.m: add ocs-0.1.4.tar.gz to install * dist-files.mk: add refs to of-ocs-1-cross-fixes.patch, of-ocs.mk * src/of-ocs-1-cross-fixes.patch: new file * src/of-ocs.mk: new file * index.html: add of-ocs
author John Donoghue <john.donoghue@ieee.org>
date Tue, 07 Jul 2015 20:43:46 -0400
parents d95b8b84cea7
children cb76b5f50b68
line wrap: on
line source

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

PKG             := msys-bash
$(PKG)_IGNORE   :=
$(PKG)_VERSION  := 3.1.17-4
$(PKG)_CHECKSUM := 2c0d36bcd474a9d1232cfe35aea6f1beb477b78a
$(PKG)_REMOTE_SUBDIR := bash/bash-$($(PKG)_VERSION)
$(PKG)_SUBDIR   := 
$(PKG)_FILE     := bash-$($(PKG)_VERSION)-msys-1.0.16-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)/bash' | \
    $(SED) -n 's,.*title="bash-\([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