1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
6 inherit eutils autotools
8 DESCRIPTION="Visualization program for exploring high-dimensional data"
9 HOMEPAGE="http://www.ggobi.org"
10 SRC_URI="http://www.ggobi.org/downloads/${P}.tar.bz2"
18 >=media-gfx/graphviz-2.6
25 # build with external system libltdl
28 has_version ">=media-gfx/graphviz-2.22" && \
29 epatch "${FILESDIR}"/${P}-graphviz.patch
30 epatch "${FILESDIR}"/${P}-syslibltdl.patch
31 epatch "${FILESDIR}"/${P}-plugindir.patch
32 for f in $(find "${S}" -name "configure.ac"); do
33 sed -i -e '/AM_INIT/ a\AM_MAINTAINER_MODE' $f || die #342747
40 --disable-maintainer-mode \
43 $(use_with !minimal all-plugins)
47 emake || die "emake failed"
48 # generate default configuration
49 emake ggobirc || die "ggobi configuration generation failed"
53 emake DESTDIR="${D}" install || die "emake install failed"
54 dodoc README AUTHORS NEWS ChangeLog
55 insinto /etc/xdg/ggobi