Annotation of /smage/trunk/core/jsoncpp/jsoncpp-1.8.4-r1.smage2
Parent Directory | Revision Log
Revision 11618 -
(hide annotations)
(download)
Thu Dec 28 07:10:19 2017 UTC (6 years, 5 months ago) by niro
File size: 736 byte(s)
Thu Dec 28 07:10:19 2017 UTC (6 years, 5 months ago) by niro
File size: 736 byte(s)
auto added: ver bump to 1.8.4-r1
1 | niro | 11616 | # $Id$ |
2 | |||
3 | PNAME="jsoncpp" | ||
4 | PVER="1.8.4" | ||
5 | PBUILD="r1" | ||
6 | |||
7 | PCAT="dev-libs" | ||
8 | |||
9 | DESCRIPTION="A C++ library for interacting with JSON." | ||
10 | HOMEPAGE="https://github.com/open-source-parsers/jsoncpp" | ||
11 | |||
12 | DEPEND=">= sys-libs/libstdc++-5.3" | ||
13 | |||
14 | SRCFILE="${PVER}.tar.gz" | ||
15 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" | ||
16 | |||
17 | msetfeature "!check" # no check target in Makefile | ||
18 | sminclude multilib cmake | ||
19 | |||
20 | SRC_URI=( | ||
21 | https://github.com/open-source-parsers/${PNAME}/archive/${SRCFILE} | ||
22 | mirror://${PNAME}/${SRCFILE} | ||
23 | ) | ||
24 | |||
25 | UP2DATE="updatecmd https://github.com/open-source-parsers/jsoncpp/tags | grep 'archive' | grep '.tar.gz' | sed 's:.*\/\(.*\).tar.gz:\1:' | upsort_pipe" | ||
26 | |||
27 | src_compile() | ||
28 | { | ||
29 | niro | 11617 | cmake_setup_builddir || die |
30 | niro | 11616 | cmake_configure $(cmake_without TESTS) || die |
31 | niro | 11618 | cmake_mmake || die |
32 | niro | 11616 | } |