Mercurial > mxe-octave
changeset 739:8b3219088b15
new package: muparser (by Martin Lambers)
author | Volker Grabsch <vog@notjusthosting.com> |
---|---|
date | Sun, 14 Feb 2010 21:15:10 +0100 |
parents | 751310098b1b |
children | 603b42d39289 |
files | doc/index.html src/muparser.mk |
diffstat | 2 files changed, 30 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/doc/index.html Sun Feb 14 21:04:32 2010 +0100 +++ b/doc/index.html Sun Feb 14 21:15:10 2010 +0100 @@ -431,7 +431,7 @@ <p> Many new packages are supported: aubio, devil, directx, exiv2, fftw, gsoap, id3lib, - liblo, libpano13, libsamplerate, openscenegraph + liblo, libpano13, libsamplerate, muparser, openscenegraph and portaudio. </p> </dd>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/muparser.mk Sun Feb 14 21:15:10 2010 +0100 @@ -0,0 +1,29 @@ +# This file is part of mingw-cross-env. +# See doc/index.html for further information. + +# muParser +PKG := muparser +$(PKG)_IGNORE := +$(PKG)_VERSION := 1.32 +$(PKG)_CHECKSUM := ff9e7be4408cafbbd6d9256095eaf8ebb12611b1 +$(PKG)_SUBDIR := $(PKG)_v$(subst .,,$($(PKG)_VERSION)) +$(PKG)_FILE := $(PKG)_v$(subst .,,$($(PKG)_VERSION)).tar.gz +$(PKG)_WEBSITE := http://muparser.sourceforge.net/ +$(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/muparser/muparser/Version%20$($(PKG)_VERSION)/$($(PKG)_FILE) +$(PKG)_DEPS := gcc + +define $(PKG)_UPDATE + $(call SOURCEFORGE_FILES,http://sourceforge.net/projects/muparser/files/muparser/) | \ + $(SED) -n 's,/muparser/Version \([0-9.]*\)/muparser_v.*.tar.gz,\1,p' | \ + tail -1 +endef + +define $(PKG)_BUILD + cd '$(1)' && ./configure \ + --host='$(TARGET)' \ + --prefix='$(PREFIX)/$(TARGET)' \ + --disable-shared \ + --disable-samples \ + --disable-debug + $(MAKE) -C '$(1)' -j '$(JOBS)' install +endef