mirror of https://git.wownero.com/dsc/mxe.git
Adds yaml-cpp
This commit is contained in:
parent
a903d59466
commit
38d5c27896
|
@ -2741,6 +2741,10 @@ local-pkg-list: $(LOCAL_PKG_LIST)</pre>
|
|||
<td class="package">xz</td>
|
||||
<td class="website"><a href="http://tukaani.org/xz/">XZ</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="package">yaml-cpp</td>
|
||||
<td class="website"><a href="https://github.com/jbeder/yaml-cpp">yaml-cpp</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="package">yasm</td>
|
||||
<td class="website"><a href="http://yasm.tortall.net//">Yasm</a></td>
|
||||
|
|
|
@ -0,0 +1,20 @@
|
|||
# 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 := release-$($(PKG)_VERSION).tar.gz
|
||||
$(PKG)_URL := https://github.com/jbeder/yaml-cpp/archive/$($(PKG)_FILE)
|
||||
$(PKG)_DEPS := gcc
|
||||
|
||||
define $(PKG)_BUILD
|
||||
cd '$(1)' && cmake \
|
||||
-DCMAKE_TOOLCHAIN_FILE='$(CMAKE_TOOLCHAIN_FILE)' \
|
||||
-DBUILD_SHARED_LIBS=$(if $(BUILD_STATIC),OFF,ON)
|
||||
|
||||
$(MAKE) -C '$(1)' -j $(JOBS) VERBOSE=1
|
||||
$(MAKE) -C '$(1)' -j $(JOBS) install
|
||||
endef
|
Loading…
Reference in New Issue