You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
47 lines
1005 B
47 lines
1005 B
# Copyright 1999-2012 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: /var/cvsroot/gentoo-x86/sci-visualization/ggobi/ggobi-2.1.9.ebuild,v 1.3 2012/05/04 08:06:59 jdhore Exp $
|
|
|
|
EAPI=4
|
|
inherit eutils autotools
|
|
|
|
DESCRIPTION="Visualization program for exploring high-dimensional data"
|
|
HOMEPAGE="http://www.ggobi.org/"
|
|
SRC_URI="http://www.ggobi.org/downloads/${P}.tar.bz2"
|
|
|
|
LICENSE="CPL-1.0"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~x86"
|
|
IUSE="doc minimal nls"
|
|
|
|
RDEPEND="media-gfx/graphviz
|
|
x11-libs/gtk+:2
|
|
dev-libs/libxml2:2"
|
|
DEPEND="${RDEPEND}
|
|
virtual/pkgconfig"
|
|
|
|
src_prepare() {
|
|
sed -i \
|
|
-e 's|ND_coord_i|ND_coord|' \
|
|
plugins/GraphLayout/graphviz.c || die
|
|
}
|
|
|
|
src_configure() {
|
|
econf \
|
|
--docdir="${EPREFIX}/usr/share/doc/${PF}" \
|
|
--disable-rpath \
|
|
$(use_enable nls) \
|
|
$(use_with !minimal all-plugins)
|
|
}
|
|
|
|
src_compile() {
|
|
emake all ggobirc
|
|
}
|
|
|
|
src_install() {
|
|
default
|
|
insinto /etc/xdg/ggobi
|
|
doins ggobirc
|
|
use doc || rm "${ED}"/usr/share/doc/${PF}/*.pdf
|
|
}
|