# $Id$ PNAME="jsoncpp" PVER="1.7.2" 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++-5.3" SRCFILE="${PVER}.tar.gz" SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" msetfeature "!check" # no check target in Makefile sminclude cmake multilib 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_configure $(cmake_without TESTS) || die mmake || die }