# HG changeset patch # User Volker Grabsch # Date 1266178510 -3600 # Node ID 8b3219088b15d99c2b08987117e805a62c5d1bd9 # Parent 751310098b1bc9355456373df58800a5724cd407 new package: muparser (by Martin Lambers) diff -r 751310098b1b -r 8b3219088b15 doc/index.html --- 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 @@

Many new packages are supported: aubio, devil, directx, exiv2, fftw, gsoap, id3lib, - liblo, libpano13, libsamplerate, openscenegraph + liblo, libpano13, libsamplerate, muparser, openscenegraph and portaudio.

diff -r 751310098b1b -r 8b3219088b15 src/muparser.mk --- /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