/[gentoo-x86]/dev-libs/iniparser/iniparser-3.1.ebuild
Gentoo

Contents of /dev-libs/iniparser/iniparser-3.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.8 - (show annotations) (download)
Mon Feb 25 08:28:24 2013 UTC (2 months, 3 weeks ago) by zmedico
Branch: MAIN
CVS Tags: HEAD
Changes since 1.7: +3 -3 lines
Add ~arm-linux and ~x86-linux keywords.

(Portage version: 2.2.0_alpha163_p13/cvs/Linux i686, signed Manifest commit with key 0xFDE8EF85AE5719A3)

1 # Copyright 1999-2013 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-libs/iniparser/iniparser-3.1.ebuild,v 1.7 2012/08/26 17:31:47 armin76 Exp $
4
5 EAPI=4
6
7 AUTOTOOLS_AUTORECONF=1
8 inherit autotools-utils
9
10 DESCRIPTION="A free stand-alone ini file parsing library."
11 HOMEPAGE="http://ndevilla.free.fr/iniparser/"
12
13 SRC_URI="http://ndevilla.free.fr/iniparser/${P}.tar.gz"
14 LICENSE="MIT"
15 SLOT="0"
16 KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~x86-macos"
17 IUSE="doc examples static-libs"
18
19 DEPEND="doc? ( app-doc/doxygen )
20 sys-devel/libtool"
21 RDEPEND=""
22
23 # the tests are rather examples than tests, no point in running them
24 RESTRICT="test"
25
26 S="${WORKDIR}/${PN}"
27
28 DOCS=( AUTHORS README )
29
30 PATCHES=(
31 "${FILESDIR}/${PN}-3.0b-cpp.patch"
32 "${FILESDIR}/${PN}-3.0-autotools.patch"
33 )
34
35 src_install() {
36 autotools-utils_src_install
37
38 if use doc; then
39 emake -C doc
40 dohtml -r html/*
41 fi
42
43 if use examples ; then
44 insinto /usr/share/doc/${PF}/examples
45 doins test/*.{c,ini,py}
46 fi
47 }

  ViewVC Help
Powered by ViewVC 1.1.13