# $Id$ PNAME="jsoncpp" PVER="1.8.4" PBUILD="r1" PCAT="dev-libs" DESCRIPTION="A C++ library for interacting with JSON." HOMEPAGE="https://github.com/open-source-parsers/jsoncpp" DEPEND=">= sys-libs/libstdc++-7.2" SRCFILE="${PVER}.tar.gz" SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" msetfeature "!check" # no check target in Makefile sminclude multilib cmake SRC_URI=( https://github.com/open-source-parsers/${PNAME}/archive/${SRCFILE} mirror://${PNAME}/${SRCFILE} ) UP2DATE="updatecmd https://github.com/open-source-parsers/jsoncpp/tags | grep 'archive' | grep '.tar.gz' | sed 's:.*\/\(.*\).tar.gz:\1:' | upsort_pipe" src_compile() { cmake_setup_builddir || die cmake_configure $(cmake_without TESTS) || die cmake_mmake || die }