Contents of /smage/branches/alx07x-stable/core/jsoncpp/jsoncpp-1.6.5-r2.smage2
Parent Directory | Revision Log
Revision 8779 -
(show annotations)
(download)
Mon Feb 29 10:07:47 2016 UTC (8 years, 6 months ago) by niro
File size: 701 byte(s)
Mon Feb 29 10:07:47 2016 UTC (8 years, 6 months ago) by niro
File size: 701 byte(s)
-release branches/alx07x-stable
1 | # $Id$ |
2 | |
3 | PNAME="jsoncpp" |
4 | PVER="1.6.5" |
5 | PBUILD="r2" |
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 cmake multilib |
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 | cmake_configure $(cmake_without TESTS) || die |
30 | mmake || die |
31 | } |