blob: c164bf19f9a77340d8be19b4205fc5076c0ea16b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/gmetadom/gmetadom-0.2.6-r1.ebuild,v 1.10 2013/05/25 14:29:25 ago Exp $
EAPI=5
inherit autotools-utils flag-o-matic
DESCRIPTION="A library providing bindings for multiple languages of multiple C DOM implementations"
HOMEPAGE="http://gmetadom.sourceforge.net/"
SRC_URI="mirror://sourceforge/gmetadom/${P}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86"
IUSE="ocaml static-libs"
RDEPEND="dev-libs/glib
dev-libs/gdome2
dev-libs/libxslt"
DEPEND="${RDEPEND}
virtual/pkgconfig
ocaml? (
dev-lang/ocaml
dev-ml/findlib
)"
AUTOTOOLS_IN_SOURCE_BUILD="yes"
AUTOTOOLS_AUTORECONF="yes"
MAKEOPTS="${MAKEOPTS} -j1"
PATCHES=(
"${FILESDIR}"/${P}-gentoo-2.patch
"${FILESDIR}"/${P}-gcc43.patch
"${FILESDIR}"/${P}-automake-1.13.patch
)
src_configure() {
# Unconditonal use of -fPIC (#55238).
append-flags -fPIC
local myeconfargs=(
--with-modules="gdome_cpp_smart $(use ocaml && echo gdome_caml)"
)
autotools-utils_src_configure
}
|