Mercurial > mxe-octave
view src/msys-dos2unix.mk @ 4067:bdcddfdc57d0
Install binary of-* packages
* Makefile.in: (OCTAVE_FORGE_PKG_BUILD) call pkg-install.py if building binary packages
* src/of-io-1-cross-fixes.patch: new patch
* src/of-specfun-1-cross-fixes.patch: new patch
* tools/pkg-install.py: new file
author | John Donoghue <john.donoghue@ieee.org> |
---|---|
date | Sat, 26 Dec 2015 22:00:59 -0500 |
parents | ae4193aad5fe |
children | cb76b5f50b68 |
line wrap: on
line source
# This file is part of MXE. # See index.html for further information. PKG := msys-dos2unix $(PKG)_IGNORE := $(PKG)_VERSION := 6.0.3-1 $(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 $(WGET) -q -O- '$(MSYS_EXTENSION_URL)/dos2unix' | \ $(SED) -n 's,.*title="dos2unix-\([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