Skip to content
Snippets Groups Projects
Commit d056bd7d authored by Edric Milaret's avatar Edric Milaret Committed by gerrit2
Browse files

contrib: bump yaml-cpp

- Use new version using C++11 shared_ptr rather
than boost implementation
- This remove the dependence to boost

Tuleap: #381
Change-Id: I64f0b58c75b9a573098a41f9f675067bb1e1f5ea
parent 4d0e3376
No related branches found
No related tags found
No related merge requests found
a0ac451a51c5b183ee5625da66ccdbbc5a079d71c3d1bd7570e1e5f30a3f2f852a8e8237a60a3419ee72bcffdf4e1e7867d9d6ab91cf314db95df2142b70c008 boost-headers.tar.gz
# Boost headers (needed for building yaml-cpp)
BOOST_HEADERS_URL = https://gitlab.savoirfairelinux.com/sfl-ports/boost-headers/repository/archive.tar.gz
$(TARBALLS)/boost-headers.tar.gz:
$(call download,$(BOOST_HEADERS_URL))
.sum-boost-headers: boost-headers.tar.gz
boost-headers: boost-headers.tar.gz .sum-boost-headers
$(UNPACK)
mv boost-headers.git $@
touch $@
.boost-headers: boost-headers
mkdir -p ../$(HOST)/include
cp -rf $< ../$(HOST)/include/boost
touch $@
3c6928684d603815c016d663af36be94507f2cccf167d6d8d7cd7dea3ea5f73ec88d62952a2b5d11796e40132857afcbbacd9eafd688f2dc11d0c339caf2e013 yaml-cpp-0.5.1.tar.gz
0347377adf60b28cf542fef6a6f24585d93ebab28f413b7ed0ac395093ca09c1ba55f7a9b172ae24214ff72128b40d0a3a821ec5015fb30a8b49d992d794c3e7 yaml-cpp-24fa1b33805c9a91df0f32c46c28e314dd7ad96f.tar.gz
# YAML
YAML_CPP_VERSION := 0.5.1
YAML_CPP_URL := http://yaml-cpp.googlecode.com/files/yaml-cpp-$(YAML_CPP_VERSION).tar.gz
YAML_CPP_VERSION := 24fa1b33805c9a91df0f32c46c28e314dd7ad96f
YAML_CPP_URL := https://github.com/jbeder/yaml-cpp/archive/$(YAML_CPP_VERSION).tar.gz
PKGS += yaml-cpp
......@@ -8,12 +8,9 @@ ifeq ($(call need_pkg,'yaml-cpp'),)
PKGS_FOUND += yaml-cpp
endif
DEPS_yaml-cpp = boost-headers $(DEPS_boost-headers)
YAML_CPP_CMAKECONF := -DBUILD_STATIC:BOOL=ON \
-DBUILD_SHARED:BOOL=OFF \
-DYAML_CPP_BUILD_TOOLS:BOOL=OFF \
-DBoost_INCLUDE_DIR=../../$(HOST)/include \
-DBUILD_SHARED_LIBS:BOOL=OFF
$(TARBALLS)/yaml-cpp-$(YAML_CPP_VERSION).tar.gz:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment