mxe/src/muparserx.mk

23 lines
786 B
Makefile
Raw Normal View History

# This file is part of MXE. See LICENSE.md for licensing information.
2015-11-21 05:26:30 +00:00
PKG := muparserx
$(PKG)_WEBSITE := https://beltoforion.de/article.php?a=muparserx
$(PKG)_DESCR := muParserX
2015-11-21 05:26:30 +00:00
$(PKG)_IGNORE :=
2018-03-13 14:09:48 +00:00
$(PKG)_VERSION := 4.0.7
$(PKG)_CHECKSUM := dd3c68da70a7177224fba015de8a948f2c8e6940d3c6ecde1a87d87ed97d6edf
$(PKG)_GH_CONF := beltoforion/muparserx/tags,v
$(PKG)_DEPS := cc
2015-11-21 05:26:30 +00:00
define $(PKG)_BUILD
2018-03-13 14:09:48 +00:00
cd '$(BUILD_DIR)' && $(TARGET)-cmake '$(SOURCE_DIR)' \
2015-11-21 05:26:30 +00:00
-DBUILD_EXAMPLES=OFF
2018-03-13 14:09:48 +00:00
$(MAKE) -C '$(BUILD_DIR)' -j '$(JOBS)'
$(MAKE) -C '$(BUILD_DIR)' -j 1 install
2015-11-21 05:26:30 +00:00
'$(TARGET)-g++' \
-W -Wall -Werror -ansi -pedantic \
'$(TEST_FILE)' -o '$(PREFIX)/$(TARGET)/bin/test-$(PKG).exe' \
2015-11-21 05:26:30 +00:00
`'$(TARGET)-pkg-config' $(PKG) --cflags --libs`
endef