Annotation of /trunk/extras/json-c/json-c-0.12.1-r1.smage2
Parent Directory | Revision Log
Revision 28284 -
(hide annotations)
(download)
Tue Jun 28 13:51:40 2016 UTC (8 years, 4 months ago) by niro
File size: 765 byte(s)
Tue Jun 28 13:51:40 2016 UTC (8 years, 4 months ago) by niro
File size: 765 byte(s)
-fixed -Werror issues with gcc6
1 | niro | 28281 | # $Id$ |
2 | |||
3 | PNAME="json-c" | ||
4 | PVER="0.12.1" | ||
5 | PBUILD="r1" | ||
6 | |||
7 | PCAT="dev-libs" | ||
8 | |||
9 | DESCRIPTION="A JSON implementation in C." | ||
10 | HOMEPAGE="http://oss.metaparadigm.com/json-c/" | ||
11 | |||
12 | DEPEND=">= virtual/glibc" | ||
13 | |||
14 | SRCFILE="${PNAME}-${PVER}.tar.gz" | ||
15 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" | ||
16 | |||
17 | sminclude mbuild multilib | ||
18 | |||
19 | SRC_URI=( | ||
20 | http://oss.metaparadigm.com/${PNAME}/${SRCFILE} | ||
21 | https://s3.amazonaws.com/${PNAME}_releases/releases/${SRCFILE} | ||
22 | mirror://${PNAME}/${SRCFILE} | ||
23 | ) | ||
24 | |||
25 | UP2DATE="updatecmd https://s3.amazonaws.com/${PNAME}_releases/ | grep ${PNAME} | sed 's:.*\(${PNAME}-.*.tar.gz\).*:\1:'| grep -v -- -nodoc | highesttarball gz" | ||
26 | |||
27 | # not parallel make safe | ||
28 | MAKEOPTS="-j1" | ||
29 | niro | 28284 | |
30 | src_prepare() | ||
31 | { | ||
32 | munpack ${SRCFILE} || die | ||
33 | all-abis 'sed -i "s|-Werror ||g" Makefile.am.inc || die' | ||
34 | mautoreconf || die | ||
35 | } |