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 :=
|
2018-11-15 23:37:24 +00:00
|
|
|
$(PKG)_VERSION := 7.0.0
|
|
|
|
$(PKG)_CHECKSUM := fa0d1c745d65d4d833e62cb183e23c2034dc7a35ec1a4977e808bdebb9b4fe60
|
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
|