Mercurial > mxe-octave
diff src/msys-dos2unix.mk @ 3260:16321a166cc4
add dos2unix and wget.
author | Markus Bergholz <markuman+again@gmail.com> |
---|---|
date | Sat, 12 Oct 2013 16:45:31 +0200 |
parents | |
children | 13be64f9f16d |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/msys-dos2unix.mk Sat Oct 12 16:45:31 2013 +0200 @@ -0,0 +1,23 @@ +# This file is part of MXE. +# See index.html for further information. + +PKG := msys-dos2unix +$(PKG)_IGNORE := +$(PKG)_CHECKSUM := bab553c740877d02311bfc5d0be3acadbcc375d0 +$(PKG)_REMOTE_SUBDIR := dos2unix/dos2unix-$($(PKG)_VERSION) +$(PKG)_SUBDIR := +$(PKG)_FILE := dos2unix-$($(PKG)_VERSION)-msys-1.0.17-bin.tar.lzma +$(PKG)_URL := $(MSYS_EXTENSION_URL)/$($(PKG)_REMOTE_SUBDIR)/$($(PKG)_FILE)/download +$(PKG)_DEPS := + +define $(PKG)_UPDATE + echo 'Warning: Updates are temporarily disabled for package $(PKG).' >&2; + echo $($(PKG)_VERSION) +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