blob: 287fe134b4ad4c9fd7cb3d15228b018b81e7582c (
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
46
47
48
49
|
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-libs/gtkmathview/gtkmathview-0.7.6.ebuild,v 1.11 2006/10/14 16:37:36 kloeri Exp $
DESCRIPTION="Rendering engine for MathML documents"
HOMEPAGE="http://helm.cs.unibo.it/mml-widget/"
SRC_URI="http://helm.cs.unibo.it/mml-widget/sources/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86"
IUSE="gtk svg t1lib"
RDEPEND=">=dev-libs/glib-2.2.1
>=dev-libs/popt-1.7
>=dev-libs/libxml2-2.6.7
gtk? (
>=x11-libs/gtk+-2.2.1
>=media-libs/t1lib-5
>=dev-libs/gmetadom-0.1.8
x11-libs/pango
)
t1lib? ( >=media-libs/t1lib-5 )"
DEPEND="${RDEPEND}
dev-util/pkgconfig"
src_compile() {
# --disable-popt will build only the library and not the frontend
local myconf="--enable-popt --enable-libxml2 --enable-libxml2-reader"
if use gtk ; then
myconf="${myconf} --enable-gmetadom"
fi
# other options
myconf="${myconf} --enable-builder-cache --enable-breaks --enable-boxml"
econf $(use_enable debug) \
$(use_enable gtk) $(use_enable gtk gmetadom) \
$(use_enable svg) \
$(use_with t1lib) \
${myconf} || die "configure failed"
emake || die "make failed"
}
src_install() {
make install DESTDIR="${D}" || die "install failed"
dodoc ANNOUNCEMENT AUTHORS BUGS CONTRIBUTORS ChangeLog HISTORY NEWS TODO
}
|