diff options
author | Volker Grabsch <vog@notjusthosting.com> | 2010-02-14 20:15:10 (GMT) |
---|---|---|
committer | Volker Grabsch <vog@notjusthosting.com> | 2010-02-14 20:15:10 (GMT) |
commit | 875ff2ce6671d82ecbe787063c163acf5f156ce7 (patch) | |
tree | 0497141cfc450c3a174608538db9506d58a037da /src/muparser.mk | |
parent | 4d7d8ee31fce8d1d74866cf225f0b0c6455bf471 (diff) | |
download | mxe-875ff2ce6671d82ecbe787063c163acf5f156ce7.zip mxe-875ff2ce6671d82ecbe787063c163acf5f156ce7.tar.gz mxe-875ff2ce6671d82ecbe787063c163acf5f156ce7.tar.bz2 |
new package: muparser (by Martin Lambers)
Diffstat (limited to 'src/muparser.mk')
-rw-r--r-- | src/muparser.mk | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/src/muparser.mk b/src/muparser.mk new file mode 100644 index 0000000..0fa8a69 --- /dev/null +++ b/src/muparser.mk @@ -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 |