Mercurial > mxe-octave
diff src/src-msys-dos2unix.mk @ 3709:c8546fe79bc9
download src files for msys packages when building Windows zip file or installer
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 04 Sep 2014 16:30:14 -0400 |
parents | |
children | cb76b5f50b68 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/src-msys-dos2unix.mk Thu Sep 04 16:30:14 2014 -0400 @@ -0,0 +1,21 @@ +# This file is part of MXE. +# See index.html for further information. + +PKG := src-msys-dos2unix +$(PKG)_IGNORE := +$(PKG)_VERSION := 6.0.3-1 +$(PKG)_CHECKSUM := 93b813726244ae1b2382014552de2e16b74f1e9f +$(PKG)_REMOTE_SUBDIR := dos2unix/dos2unix-$($(PKG)_VERSION) +$(PKG)_SUBDIR := +$(PKG)_FILE := dos2unix-$($(PKG)_VERSION)-msys-1.0.17-src.tar.lzma +$(PKG)_URL := $(MSYS_EXTENSION_URL)/$($(PKG)_REMOTE_SUBDIR)/$($(PKG)_FILE)/download +$(PKG)_DEPS := + +define $(PKG)_UPDATE + $(WGET) -q -O- '$(MSYS_EXTENSION_URL)/dos2unix' | \ + $(SED) -n 's,.*title="dos2unix-\([0-9][^"]*\)".*,\1,p' | \ + head -1 +endef + +define $(PKG)_BUILD +endef