/[gentoo-x86]/dev-libs/jansson/jansson-2.3.1.ebuild
Gentoo

Contents of /dev-libs/jansson/jansson-2.3.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (hide annotations) (download)
Tue Aug 14 10:07:50 2012 UTC (2 years, 2 months ago) by johu
Branch: MAIN
Changes since 1.2: +2 -2 lines
Stable for x86, wrt bug #430622

(Portage version: 2.2.0_alpha120/cvs/Linux i686)

1 hwoarang 1.1 # Copyright 1999-2012 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 johu 1.3 # $Header: /var/cvsroot/gentoo-x86/dev-libs/jansson/jansson-2.3.1.ebuild,v 1.2 2012/08/11 19:45:49 ago Exp $
4 hwoarang 1.1
5     EAPI="3"
6    
7     inherit autotools-utils
8    
9     DESCRIPTION="C library for encoding, decoding and manipulating JSON data"
10     HOMEPAGE="http://www.digip.org/jansson/"
11     SRC_URI="http://www.digip.org/jansson/releases/${P}.tar.gz"
12    
13     LICENSE="MIT"
14     SLOT="0"
15 johu 1.3 KEYWORDS="amd64 x86"
16 hwoarang 1.1 IUSE="doc static-libs"
17    
18     DEPEND="doc? ( >=dev-python/sphinx-1.0.4 )"
19     RDEPEND=""
20    
21     DOCS=(CHANGES README.rst)
22    
23     src_prepare() {
24     sed -ie 's/-Werror//' src/Makefile.am || die
25     eautoreconf
26     autotools-utils_src_prepare
27     }
28    
29     src_compile() {
30     autotools-utils_src_compile
31    
32     use doc && autotools-utils_src_compile html
33     }
34    
35     src_install() {
36     use doc && HTML_DOCS=("${AUTOTOOLS_BUILD_DIR}/doc/_build/html/")
37     autotools-utils_src_install
38     }

  ViewVC Help
Powered by ViewVC 1.1.20