2016-08-22 20:52:34 +01:00
|
|
|
# This file is part of MXE. See LICENSE.md for licensing information.
|
2014-12-13 23:15:18 +00:00
|
|
|
|
|
|
|
PKG := tinyxml2
|
2016-12-18 05:43:56 +00:00
|
|
|
$(PKG)_WEBSITE := http://grinninglizard.com/tinyxml2/
|
2014-12-13 23:15:18 +00:00
|
|
|
$(PKG)_IGNORE :=
|
2019-05-14 22:33:40 +01:00
|
|
|
$(PKG)_VERSION := 7.0.1
|
|
|
|
$(PKG)_CHECKSUM := a381729e32b6c2916a23544c04f342682d38b3f6e6c0cad3c25e900c3a7ef1a6
|
2018-03-15 09:34:46 +00:00
|
|
|
$(PKG)_GH_CONF := leethomason/tinyxml2/tags
|
2017-11-25 13:36:07 +00:00
|
|
|
$(PKG)_DEPS := cc
|
2014-12-13 23:15:18 +00:00
|
|
|
|
|
|
|
define $(PKG)_BUILD
|
2016-11-05 22:21:50 +00:00
|
|
|
cd '$(BUILD_DIR)' && '$(TARGET)-cmake' '$(SOURCE_DIR)'
|
2016-07-29 12:25:39 +01:00
|
|
|
$(MAKE) -C '$(BUILD_DIR)' -j '$(JOBS)'
|
|
|
|
$(MAKE) -C '$(BUILD_DIR)' -j 1 install
|
2014-12-13 23:15:18 +00:00
|
|
|
|
2016-07-29 12:25:39 +01:00
|
|
|
'$(TARGET)-g++' \
|
|
|
|
-W -Wall -ansi -pedantic \
|
|
|
|
'$(SOURCE_DIR)/xmltest.cpp' -o '$(PREFIX)/$(TARGET)/bin/test-$(PKG).exe' \
|
|
|
|
`'$(TARGET)-pkg-config' $(PKG) --cflags --libs`
|
2015-09-21 17:30:24 +01:00
|
|
|
endef
|