# This file is part of MXE.
# See index.html for further information.
PKG := yaml-cpp
$(PKG)_IGNORE :=
$(PKG)_VERSION := 0.5.3
$(PKG)_CHECKSUM := ac50a27a201d16dc69a881b80ad39a7be66c4d755eda1f76c3a68781b922af8f
$(PKG)_SUBDIR := $(PKG)-release-$($(PKG)_VERSION)
$(PKG)_FILE := yaml-cpp-$($(PKG)_VERSION).tar.gz
$(PKG)_URL := https://github.com/jbeder/yaml-cpp/archive/release-$($(PKG)_VERSION).tar.gz
$(PKG)_DEPS := gcc boost
define $(PKG)_UPDATE
$(call MXE_GET_GITHUB_TAGS, jbeder/yaml-cpp, \(yaml-cpp-\|release-\))
endef
define $(PKG)_BUILD
cd '$(BUILD_DIR)' && $(TARGET)-cmake \
-DBUILD_SHARED_LIBS=$(CMAKE_SHARED_BOOL) \
'$(SOURCE_DIR)'
$(MAKE) -C '$(BUILD_DIR)' -j $(JOBS) VERBOSE=1
$(MAKE) -C '$(BUILD_DIR)' -j 1 install
endef