Mercurial > mxe-octave
changeset 1090:5f44e2e8256c
new package: matio (by Martin Lambers)
author | Volker Grabsch <vog@notjusthosting.com> |
---|---|
date | Fri, 16 Jul 2010 18:04:52 +0200 |
parents | 6f097a921fac |
children | e9bb636f650d |
files | src/matio.mk |
diffstat | 1 files changed, 30 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/matio.mk Fri Jul 16 18:04:52 2010 +0200 @@ -0,0 +1,30 @@ +# This file is part of mingw-cross-env. +# See doc/index.html for further information. + +# matio +PKG := matio +$(PKG)_IGNORE := +$(PKG)_VERSION := 1.3.4 +$(PKG)_CHECKSUM := 721b9b57f2437850dd114acca1f422622e2c47e2 +$(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) +$(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz +$(PKG)_WEBSITE := http://sourceforge.net/projects/matio/ +$(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/$(PKG)/$(PKG)/$($(PKG)_VERSION)/$($(PKG)_FILE) +$(PKG)_DEPS := gcc zlib + +define $(PKG)_UPDATE + $(call SOURCEFORGE_FILES,http://sourceforge.net/projects/matio/files/matio/) | \ + $(SED) -n 's,.*matio-\([0-9][^>]*\)\.tar.*,\1,p' | \ + tail -1 +endef + +define $(PKG)_BUILD + cd '$(1)' && ./configure \ + --host='$(TARGET)' \ + --prefix='$(PREFIX)/$(TARGET)' \ + --disable-shared \ + --disable-test \ + --disable-docs + $(MAKE) -C '$(1)' -j '$(JOBS)' + $(MAKE) -C '$(1)' -j 1 install +endef