blob: 4e4522eb3416450d21221062ad47dd1d273a3dbe (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
# This file is part of MXE.
# See index.html for further information.
PKG := muparserx
$(PKG)_IGNORE :=
$(PKG)_VERSION := 4.0.4
$(PKG)_CHECKSUM := d7ebcab8cb1de88e6dcba21651db8f6055b3e904c45afc387b06b5f4218dda40
$(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION)
$(PKG)_FILE := $($(PKG)_SUBDIR).tar.gz
$(PKG)_URL := https://github.com/beltoforion/$(PKG)/archive/v$($(PKG)_VERSION).tar.gz
$(PKG)_DEPS := gcc
define $(PKG)_UPDATE
$(call MXE_GET_GITHUB_TAGS, beltoforion/muparserx, v)
endef
define $(PKG)_BUILD
cd '$(1)' && '$(TARGET)-cmake' \
-DBUILD_EXAMPLES=OFF
$(MAKE) -C '$(1)' -j '$(JOBS)' install
'$(TARGET)-g++' \
-W -Wall -Werror -ansi -pedantic \
'$(TEST_FILE)' -o '$(PREFIX)/$(TARGET)/bin/test-$(PKG).exe' \
`'$(TARGET)-pkg-config' $(PKG) --cflags --libs`
endef
|