view src/msys-wget.mk @ 4108:6a33c32796b2

of-octcdf: update to 1.1.10 * src/of-octcdf.mk: update version, checksum * src/of-octcdf-1-cross-fixes.patch: removed file * dist-files.mk: remove ref to of-octcdf-1-cross-fixes.patch
author John Donoghue <john.donoghue@ieee.org>
date Sat, 19 Mar 2016 10:05:23 -0400
parents 5ad15d20d11b
children
line wrap: on
line source

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

PKG             := msys-wget
$(PKG)_IGNORE   :=
$(PKG)_VERSION  := 1.12-1
$(PKG)_CHECKSUM := b13415e735484d82e81bc648fed52a83323ff993
$(PKG)_REMOTE_SUBDIR := wget/wget-$($(PKG)_VERSION)
$(PKG)_SUBDIR   := 
$(PKG)_FILE     := wget-$($(PKG)_VERSION)-msys-1.0.13-bin.tar.lzma
$(PKG)_URL      := $(MSYS_EXTENSION_URL)/$($(PKG)_REMOTE_SUBDIR)/$($(PKG)_FILE)/download
$(PKG)_DEPS     := msys-libopenssl

define $(PKG)_UPDATE
    $(WGET) -q -O- '$(MSYS_EXTENSION_URL)/wget' | \
    $(SED) -n 's,.*title="wget-\([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