Merge branch 'patch-1' of https://github.com/SupSuper/mxe into SupSuper-patch-1

This commit is contained in:
Tony Theodore 2018-03-03 18:33:24 +11:00
commit d049e6ef79
1 changed files with 5 additions and 11 deletions

View File

@ -4,16 +4,10 @@ PKG := yaml-cpp
$(PKG)_WEBSITE := https://github.com/jbeder/yaml-cpp
$(PKG)_DESCR := A YAML parser and emitter for C++
$(PKG)_IGNORE :=
$(PKG)_VERSION := 0.5.3
$(PKG)_CHECKSUM := 3492d9c1f4319dfd5588f60caed7cec3f030f7984386c11ed4b39f8e3316d763
$(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 := cc boost
define $(PKG)_UPDATE
$(call MXE_GET_GITHUB_TAGS, jbeder/yaml-cpp, \(yaml-cpp-\|release-\))
endef
$(PKG)_VERSION := 0.6.1
$(PKG)_CHECKSUM := 25ec37e6d82ab8c485926d69a5567741c7263515f8631e5dcb3fb4708e6b0d0d
$(PKG)_GH_CONF := jbeder/yaml-cpp/releases/latest,yaml-cpp-
$(PKG)_DEPS := cc
define $(PKG)_BUILD
cd '$(BUILD_DIR)' && $(TARGET)-cmake '$(SOURCE_DIR)'
@ -21,7 +15,7 @@ define $(PKG)_BUILD
$(MAKE) -C '$(BUILD_DIR)' -j 1 install
'$(TARGET)-g++' \
-W -Wall -Werror -ansi -pedantic \
-W -Wall -Werror -ansi -pedantic -std=c++11 \
'$(TEST_FILE)' -o '$(PREFIX)/$(TARGET)/bin/test-$(PKG).exe' \
`'$(TARGET)-pkg-config' $(PKG) --cflags --libs`
endef