summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Dittrich <markusle@gentoo.org>2008-06-01 20:14:33 +0000
committerMarkus Dittrich <markusle@gentoo.org>2008-06-01 20:14:33 +0000
commitce9b1d18f6ca7d7b4ea4481d4afb3b5211a4284e (patch)
tree4b68e736450e9bcb1fb04c80a44aca4ed6c65f6e /sci-visualization
parentMasked new sci-visualization/hippodraw-1.21.3 for a bit more testing. (diff)
downloadhistorical-ce9b1d18f6ca7d7b4ea4481d4afb3b5211a4284e.tar.gz
historical-ce9b1d18f6ca7d7b4ea4481d4afb3b5211a4284e.tar.bz2
historical-ce9b1d18f6ca7d7b4ea4481d4afb3b5211a4284e.zip
Version bump, masked for a bit more testing.
Package-Manager: portage-2.1.5.2
Diffstat (limited to 'sci-visualization')
-rw-r--r--sci-visualization/hippodraw/ChangeLog14
-rw-r--r--sci-visualization/hippodraw/Manifest8
-rw-r--r--sci-visualization/hippodraw/files/hippodraw-1.21.3-gcc4.3.patch201
-rw-r--r--sci-visualization/hippodraw/files/hippodraw-1.21.3-numarray.patch39
-rw-r--r--sci-visualization/hippodraw/hippodraw-1.19.1.ebuild6
-rw-r--r--sci-visualization/hippodraw/hippodraw-1.21.3.ebuild111
6 files changed, 372 insertions, 7 deletions
diff --git a/sci-visualization/hippodraw/ChangeLog b/sci-visualization/hippodraw/ChangeLog
index 00e1cf8ebc35..c3c7a601c0dc 100644
--- a/sci-visualization/hippodraw/ChangeLog
+++ b/sci-visualization/hippodraw/ChangeLog
@@ -1,6 +1,16 @@
# ChangeLog for sci-visualization/hippodraw
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-visualization/hippodraw/ChangeLog,v 1.1 2007/02/23 15:12:58 bicatali Exp $
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-visualization/hippodraw/ChangeLog,v 1.2 2008/06/01 20:14:33 markusle Exp $
+
+*hippodraw-1.21.3 (01 Jun 2008)
+
+ 01 Jun 2008; Markus Dittrich <markusle@gentoo.org>
+ +files/hippodraw-1.21.3-gcc4.3.patch,
+ +files/hippodraw-1.21.3-numarray.patch, hippodraw-1.19.1.ebuild,
+ +hippodraw-1.21.3.ebuild:
+ Version bump, masked for a bit more testing. Added patch for gcc4.3
+ compatibility (also need >=boost-1.35 for gcc4.3). Changed license
+ to GPL-2 since this is what the LICENSE file in the tarball states.
*hippodraw-1.19.1 (23 Feb 2007)
diff --git a/sci-visualization/hippodraw/Manifest b/sci-visualization/hippodraw/Manifest
index 70300e68b54b..64ebb4afa913 100644
--- a/sci-visualization/hippodraw/Manifest
+++ b/sci-visualization/hippodraw/Manifest
@@ -1,4 +1,8 @@
+AUX hippodraw-1.21.3-gcc4.3.patch 6986 RMD160 a9662220253bbbab6ea6d4fd6c8c45d46e2b10ea SHA1 d879a8acdf2eda66cf81a1d0ba2974d4fb1fb57e SHA256 69a06d102c3ea47f446796bcc5f00f78259d80803404977f59fabea9b5e2569f
+AUX hippodraw-1.21.3-numarray.patch 1162 RMD160 ab5e5a417ba5b0b7c214f7bea1c2641c91385531 SHA1 cf3d6edefe27934ffe11f52058a98885f1b81fb5 SHA256 b06eb6f33b7e080760d7e030942bd347bfd0ef8f78dbdb04e17ee21272b7d60f
DIST HippoDraw-1.19.1.tar.gz 8976924 RMD160 69027fda754d7781fc448ba12deab5318449047d SHA1 a57ee5b3d7d0d1d261de047153f43bd2068df085 SHA256 35769eea66bd722dde8c3b485501c03b74da40d30e32de5acf5e3e230984e0ec
-EBUILD hippodraw-1.19.1.ebuild 3095 RMD160 a4ba66bce2b7fcbdb51dad7e57107efe15735cdb SHA1 2c839735d6da906db456c3e21c08c5df8bfe29e0 SHA256 fcfe6d6b011d3f367dc737d7b9f793739b2b11621c40af2e7733640a5f7f486a
-MISC ChangeLog 399 RMD160 8fea84c49b5773f95d461809d5cb7f4d4a1c35a9 SHA1 eac4ab058cb61df8d9a739bdd13f0fd19c49c004 SHA256 1fdf190bc7c91baf45fadc57740c2c67106883cd33477d0107aa7c9d616eca6a
+DIST HippoDraw-1.21.3.tar.gz 9087353 RMD160 33ab867739feda0caef29da9160c3e410de5fc35 SHA1 6959c564c0c366260b5b7ad81cce6efd2d30846b SHA256 a649dd51b4316ba54fad03cb7b39035ecd2d0efeea0cbff1a17d4790f7df0e28
+EBUILD hippodraw-1.19.1.ebuild 3094 RMD160 cf3b52f654f95f595a0b783e7408c0b2c55af1ca SHA1 d2b9fc74ac35662630f7b8a270aa7eb30688f363 SHA256 72a61d2023920de6a76408fa0564fbbaabbf5ece584bcec487e632028d85247c
+EBUILD hippodraw-1.21.3.ebuild 3177 RMD160 d65c3ca2aa51b1e7f0db8d9ac0e9e1afeb975d33 SHA1 4bb94e7d2f6eb856f947dbf50c49c7666a50c47f SHA256 b4bb5b45e7adf8c225e70eeb3729eb7d203aabdd8823b759b03455c392fe26b3
+MISC ChangeLog 830 RMD160 6daebf63e91a94085c255c79b4fef65203a7fb4c SHA1 0a5e64350e596de974b7ffeac826d49c07cefa3c SHA256 75a63b9d66f78147c3ecaf8c132e6d2a998426f8c67e310874789312154b767a
MISC metadata.xml 592 RMD160 a930a88494c3e3b40bbbcc5aeadc4bf64c02fa46 SHA1 608a96ba0462a4a0f76346ece11925e71e68b189 SHA256 f076f998c563efc29cffd0931db194ab2ca234321e2a0f92fe8ab01c37584fd1
diff --git a/sci-visualization/hippodraw/files/hippodraw-1.21.3-gcc4.3.patch b/sci-visualization/hippodraw/files/hippodraw-1.21.3-gcc4.3.patch
new file mode 100644
index 000000000000..f57c994841c8
--- /dev/null
+++ b/sci-visualization/hippodraw/files/hippodraw-1.21.3-gcc4.3.patch
@@ -0,0 +1,201 @@
+diff -Naur HippoDraw-1.21.3/axes/Range.cxx HippoDraw-1.21.3.new/axes/Range.cxx
+--- HippoDraw-1.21.3/axes/Range.cxx 2007-05-08 14:47:27.000000000 -0400
++++ HippoDraw-1.21.3.new/axes/Range.cxx 2008-06-01 15:28:20.000000000 -0400
+@@ -16,6 +16,7 @@
+
+ #include "Range.h"
+
++#include <ostream>
+ #include <algorithm>
+
+ #include <cassert>
+diff -Naur HippoDraw-1.21.3/fits/FitsFile.cxx HippoDraw-1.21.3.new/fits/FitsFile.cxx
+--- HippoDraw-1.21.3/fits/FitsFile.cxx 2007-05-17 13:57:10.000000000 -0400
++++ HippoDraw-1.21.3.new/fits/FitsFile.cxx 2008-06-01 15:28:54.000000000 -0400
+@@ -15,7 +15,7 @@
+
+ #include <algorithm>
+ #include <stdexcept>
+-
++#include <cstring>
+ #include <cassert>
+
+ using std::string;
+diff -Naur HippoDraw-1.21.3/minimizers/Fitter.cxx HippoDraw-1.21.3.new/minimizers/Fitter.cxx
+--- HippoDraw-1.21.3/minimizers/Fitter.cxx 2006-01-28 17:54:45.000000000 -0500
++++ HippoDraw-1.21.3.new/minimizers/Fitter.cxx 2008-06-01 15:28:20.000000000 -0400
+@@ -13,6 +13,8 @@
+
+ #include "StatedFCN.h"
+
++#include <cstdlib>
++#include <climits>
+ #include <stdexcept>
+
+ using std::string;
+diff -Naur HippoDraw-1.21.3/minimizers/LMFitter.cxx HippoDraw-1.21.3.new/minimizers/LMFitter.cxx
+--- HippoDraw-1.21.3/minimizers/LMFitter.cxx 2007-04-23 17:57:21.000000000 -0400
++++ HippoDraw-1.21.3.new/minimizers/LMFitter.cxx 2008-06-01 15:28:20.000000000 -0400
+@@ -18,6 +18,7 @@
+ #include "NumLinAlg.h"
+ #include "StatedFCN.h"
+
++#include <climits>
+ #include <algorithm>
+
+ #include <cmath>
+diff -Naur HippoDraw-1.21.3/minimizers/NumLinAlg.cxx HippoDraw-1.21.3.new/minimizers/NumLinAlg.cxx
+--- HippoDraw-1.21.3/minimizers/NumLinAlg.cxx 2005-05-16 14:39:20.000000000 -0400
++++ HippoDraw-1.21.3.new/minimizers/NumLinAlg.cxx 2008-06-01 15:28:20.000000000 -0400
+@@ -19,6 +19,7 @@
+ #include <cmath>
+ #include <cfloat>
+ #include <cassert>
++#include <cstdlib>
+
+ using std::ofstream;
+ using std::ifstream;
+diff -Naur HippoDraw-1.21.3/projectors/DyHist1DProjector.cxx HippoDraw-1.21.3.new/projectors/DyHist1DProjector.cxx
+--- HippoDraw-1.21.3/projectors/DyHist1DProjector.cxx 2007-04-23 17:57:21.000000000 -0400
++++ HippoDraw-1.21.3.new/projectors/DyHist1DProjector.cxx 2008-06-01 15:28:20.000000000 -0400
+@@ -21,6 +21,7 @@
+ #include "datasrcs/DataPointTuple.h"
+ #include "datasrcs/NTuple.h"
+
++#include <climits>
+ #include <cassert>
+
+ using namespace hippodraw;
+diff -Naur HippoDraw-1.21.3/projectors/DyHist2DProjector.cxx HippoDraw-1.21.3.new/projectors/DyHist2DProjector.cxx
+--- HippoDraw-1.21.3/projectors/DyHist2DProjector.cxx 2005-09-12 12:55:10.000000000 -0400
++++ HippoDraw-1.21.3.new/projectors/DyHist2DProjector.cxx 2008-06-01 15:28:20.000000000 -0400
+@@ -24,7 +24,7 @@
+ #include "binners/BinnerAxisFactory.h"
+
+ #include "datasrcs/NTuple.h"
+-
++#include <climits>
+ #include <cassert>
+
+ using namespace hippodraw;
+diff -Naur HippoDraw-1.21.3/projectors/EqualEntriesHist1DProjector.cxx HippoDraw-1.21.3.new/projectors/EqualEntriesHist1DProjector.cxx
+--- HippoDraw-1.21.3/projectors/EqualEntriesHist1DProjector.cxx 2007-04-23 17:57:21.000000000 -0400
++++ HippoDraw-1.21.3.new/projectors/EqualEntriesHist1DProjector.cxx 2008-06-01 15:28:20.000000000 -0400
+@@ -26,6 +26,7 @@
+ #include <numeric>
+
+ #include <cfloat>
++#include <climits>
+
+ #include <cassert>
+
+diff -Naur HippoDraw-1.21.3/projectors/Map1Projector.cxx HippoDraw-1.21.3.new/projectors/Map1Projector.cxx
+--- HippoDraw-1.21.3/projectors/Map1Projector.cxx 2007-04-27 14:14:52.000000000 -0400
++++ HippoDraw-1.21.3.new/projectors/Map1Projector.cxx 2008-06-01 15:28:20.000000000 -0400
+@@ -25,7 +25,7 @@
+ #include <numeric>
+
+ #include <cfloat>
+-
++#include <climits>
+ #include <cassert>
+
+ using namespace hippodraw;
+diff -Naur HippoDraw-1.21.3/projectors/Map2Projector.cxx HippoDraw-1.21.3.new/projectors/Map2Projector.cxx
+--- HippoDraw-1.21.3/projectors/Map2Projector.cxx 2007-04-23 17:57:21.000000000 -0400
++++ HippoDraw-1.21.3.new/projectors/Map2Projector.cxx 2008-06-01 15:28:20.000000000 -0400
+@@ -24,7 +24,7 @@
+ #include <algorithm>
+
+ #include <cfloat>
+-
++#include <climits>
+ #include <cassert>
+
+ using namespace hippodraw;
+diff -Naur HippoDraw-1.21.3/projectors/MapMatrixProjector.cxx HippoDraw-1.21.3.new/projectors/MapMatrixProjector.cxx
+--- HippoDraw-1.21.3/projectors/MapMatrixProjector.cxx 2007-04-23 17:57:21.000000000 -0400
++++ HippoDraw-1.21.3.new/projectors/MapMatrixProjector.cxx 2008-06-01 15:28:20.000000000 -0400
+@@ -23,10 +23,10 @@
+
+ #include <algorithm>
+ #include <numeric>
+-
++#include <climits>
+ #include <cfloat>
+ #include <cmath>
+-
++#include <climits>
+ #include <cassert>
+
+ using namespace hippodraw;
+diff -Naur HippoDraw-1.21.3/projectors/MeshProjector.cxx HippoDraw-1.21.3.new/projectors/MeshProjector.cxx
+--- HippoDraw-1.21.3/projectors/MeshProjector.cxx 2007-04-23 17:57:21.000000000 -0400
++++ HippoDraw-1.21.3.new/projectors/MeshProjector.cxx 2008-06-01 15:28:20.000000000 -0400
+@@ -24,7 +24,7 @@
+
+ #include <algorithm>
+ #include <cfloat>
+-
++#include <climits>
+ #include <cassert>
+
+ using namespace hippodraw;
+diff -Naur HippoDraw-1.21.3/projectors/NTupleProjector.cxx HippoDraw-1.21.3.new/projectors/NTupleProjector.cxx
+--- HippoDraw-1.21.3/projectors/NTupleProjector.cxx 2007-04-23 17:57:21.000000000 -0400
++++ HippoDraw-1.21.3.new/projectors/NTupleProjector.cxx 2008-06-01 15:28:20.000000000 -0400
+@@ -23,7 +23,7 @@
+ #include <algorithm>
+ #include <functional>
+ #include <stdexcept>
+-
++#include <climits>
+ #include <cassert>
+
+ #ifdef ITERATOR_MEMBER_DEFECT
+diff -Naur HippoDraw-1.21.3/projectors/ProfileProjector.cxx HippoDraw-1.21.3.new/projectors/ProfileProjector.cxx
+--- HippoDraw-1.21.3/projectors/ProfileProjector.cxx 2007-04-23 17:57:21.000000000 -0400
++++ HippoDraw-1.21.3.new/projectors/ProfileProjector.cxx 2008-06-01 15:28:20.000000000 -0400
+@@ -27,7 +27,7 @@
+ #include "datasrcs/NTuple.h"
+
+ #include <algorithm>
+-
++#include <climits>
+ #include <cassert>
+
+ using namespace hippodraw;
+diff -Naur HippoDraw-1.21.3/projectors/StripChartProjector.cxx HippoDraw-1.21.3.new/projectors/StripChartProjector.cxx
+--- HippoDraw-1.21.3/projectors/StripChartProjector.cxx 2005-10-29 20:10:14.000000000 -0400
++++ HippoDraw-1.21.3.new/projectors/StripChartProjector.cxx 2008-06-01 15:28:20.000000000 -0400
+@@ -20,7 +20,7 @@
+ #include "datasrcs/DataSource.h"
+
+ #include <algorithm>
+-
++#include <climits>
+ #include <cassert>
+
+ using std::distance;
+diff -Naur HippoDraw-1.21.3/qt/QtApp.cxx HippoDraw-1.21.3.new/qt/QtApp.cxx
+--- HippoDraw-1.21.3/qt/QtApp.cxx 2007-03-14 19:28:28.000000000 -0400
++++ HippoDraw-1.21.3.new/qt/QtApp.cxx 2008-06-01 15:28:20.000000000 -0400
+@@ -26,6 +26,7 @@
+
+ #include "qdir.h"
+ #include <cassert>
++#include <cstdlib>
+
+ using std::string;
+
+diff -Naur HippoDraw-1.21.3/qt/QtViewImp.cxx HippoDraw-1.21.3.new/qt/QtViewImp.cxx
+--- HippoDraw-1.21.3/qt/QtViewImp.cxx 2007-06-28 16:03:02.000000000 -0400
++++ HippoDraw-1.21.3.new/qt/QtViewImp.cxx 2008-06-01 15:28:20.000000000 -0400
+@@ -42,6 +42,7 @@
+ #endif
+
+ #include <cassert>
++#include <cstdlib>
+
+ using namespace hippodraw;
+
diff --git a/sci-visualization/hippodraw/files/hippodraw-1.21.3-numarray.patch b/sci-visualization/hippodraw/files/hippodraw-1.21.3-numarray.patch
new file mode 100644
index 000000000000..38b08e7f5b39
--- /dev/null
+++ b/sci-visualization/hippodraw/files/hippodraw-1.21.3-numarray.patch
@@ -0,0 +1,39 @@
+diff -Naur HippoDraw-1.21.3/python/PyDataSource.cxx HippoDraw-1.21.3.new/python/PyDataSource.cxx
+--- HippoDraw-1.21.3/python/PyDataSource.cxx 2007-08-24 18:19:16.000000000 -0400
++++ HippoDraw-1.21.3.new/python/PyDataSource.cxx 2008-06-01 14:22:46.000000000 -0400
+@@ -444,9 +444,14 @@
+ copy_direct ( boost::python::numeric::array array,
+ std::vector<double > & col )
+ {
++#ifdef HAVE_NUMARRAY
+ T * data = reinterpret_cast < T * > ( num_util::data ( array ) );
+ int size = num_util::size ( array );
+ std::copy ( data, data+ size, back_inserter( col ) );
++#else
++ throw std::runtime_error ("HippoDraw was not built with "
++ "numeric Python support" );
++#endif
+ }
+
+ void
+@@ -454,6 +459,7 @@
+ extractVector ( boost::python::numeric::array array,
+ std::vector<double> & col )
+ {
++#ifdef HAVE_NUMARRAY
+ PyArray_TYPES type = num_util::type ( array );
+
+ if ( num_util::iscontiguous ( array ) &&
+@@ -515,7 +521,11 @@
+ col.push_back ( boost::python::extract < double > ( result ) );
+ }
+ }
+- }
++ }
++#else
++ throw std::runtime_error ("HippoDraw was not built with "
++ "numeric Python support" );
++#endif
+ }
+
+ PyDataSource *
diff --git a/sci-visualization/hippodraw/hippodraw-1.19.1.ebuild b/sci-visualization/hippodraw/hippodraw-1.19.1.ebuild
index f6f0c6f57d93..eb73c39e15c4 100644
--- a/sci-visualization/hippodraw/hippodraw-1.19.1.ebuild
+++ b/sci-visualization/hippodraw/hippodraw-1.19.1.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-visualization/hippodraw/hippodraw-1.19.1.ebuild,v 1.1 2007/02/23 15:12:58 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-visualization/hippodraw/hippodraw-1.19.1.ebuild,v 1.2 2008/06/01 20:14:33 markusle Exp $
inherit eutils qt3
@@ -9,7 +9,7 @@ MY_PN=HippoDraw
DESCRIPTION="Highly interactive data analysis Qt environment for C++ and python"
HOMEPAGE="http://www.slac.stanford.edu/grp/ek/hippodraw/"
SRC_URI="ftp://ftp.slac.stanford.edu/users/pfkeb/${PN}/${MY_PN}-${PV}.tar.gz"
-LICENSE="LGPL-2"
+LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="root fits numarray doc"
diff --git a/sci-visualization/hippodraw/hippodraw-1.21.3.ebuild b/sci-visualization/hippodraw/hippodraw-1.21.3.ebuild
new file mode 100644
index 000000000000..a967078443c3
--- /dev/null
+++ b/sci-visualization/hippodraw/hippodraw-1.21.3.ebuild
@@ -0,0 +1,111 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-visualization/hippodraw/hippodraw-1.21.3.ebuild,v 1.1 2008/06/01 20:14:33 markusle Exp $
+
+inherit eutils qt3
+
+MY_PN=HippoDraw
+
+DESCRIPTION="Highly interactive data analysis Qt environment for C++ and python"
+HOMEPAGE="http://www.slac.stanford.edu/grp/ek/hippodraw/"
+SRC_URI="ftp://ftp.slac.stanford.edu/users/pfkeb/${PN}/${MY_PN}-${PV}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="root fits numarray doc"
+
+# minuit: included in root-5, but standalone cheaper to build
+# qt4 not implemented:
+# - won't work with sip on amd64
+# - is still under testing
+# opengl: completely buggy
+# wcslib: not yet implemented (wcslib has nasty build system)
+# sip: still buggy (gcc411 issue?)
+
+RDEPEND=">=dev-lang/python-2.3
+ >=dev-libs/boost-1.32
+ $(qt_min_version 3.1)
+ numarray? ( dev-python/numarray )
+ fits? ( sci-libs/cfitsio
+ numarray? ( dev-python/pyfits ) )
+ !root? ( >=sci-libs/minuit-5 )
+ root? ( >=sci-physics/root-5 )"
+
+DEPEND="${RDEPEND}
+ doc? ( app-doc/doxygen )"
+
+S=${WORKDIR}/${MY_PN}-${PV}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-gcc4.3.patch
+ epatch "${FILESDIR}"/${P}-numarray.patch
+
+ local docdir=/usr/share/doc/${PF}
+ # fix the install doc directory to gentoo's one
+ sed -i \
+ -e "s:\$(pkgdatadir)/html:${docdir}/html:" \
+ doc/Makefile.in
+
+ # fix an extra DESTDIR inherited from Makefile.am
+ sed -i \
+ -e "s:\$(DESTDIR)\$(pkgdatadir)/examples:${docdir}/examples:" \
+ examples/Makefile.in
+
+ # since we do not slot, remove version name in includes
+ sed -i \
+ -e 's/$(pkgincludedir)-$(VERSION)/$(pkgincludedir)/' \
+ */Makefile.in
+
+ #if use sip; then
+ # sed -i \
+ # -e "s:/usr/local:/usr:g"\
+ # -e "" \
+ # sip/Makefile.in
+ #fi
+}
+
+src_compile() {
+
+ local myconf="--with-boost-include=/usr/include"
+ myconf="${myconf} --with-Qt-include-dir=/usr/qt/3/include"
+ myconf="${myconf} --with-Qt-lib-dir=/usr/qt/3/$(get_libdir)"
+ myconf="${myconf} --with-Qt-bin-dir=/usr/qt/3/bin"
+ myconf="${myconf} --with-boost-lib=/usr/$(get_libdir)"
+ myconf="${myconf} --with-boost-libname=boost_python"
+ #built_with_use dev-libs/boost threads && myconf="${myconf}-mt"
+
+ if use minuit && ! use root; then
+ myconf="${myconf} --with-minuit2-include=/usr/include"
+ myconf="${myconf} --with-minuit2-lib=/usr/$(get_libdir)"
+ fi
+
+ if use root; then
+ myconf="${myconf} --with-root-include=/usr/include/root"
+ myconf="${myconf} --with-root-lib=/usr/$(get_libdir)/root"
+ fi
+
+ if use fits; then
+ myconf="${myconf} --with-cfitsio-include=/usr/include"
+ myconf="${myconf} --with-cfitsio-lib=/usr/$(get_libdir)"
+ fi
+
+ econf \
+ $(use_enable numarray numarraybuild) \
+ $(use_enable doc help) \
+ ${myconf} || die "econf failed"
+ # qtui failed with -j2, so build it first with -j1
+ emake -j1 -C qtui || die "make qtui failed"
+ emake || die "emake failed"
+ if use doc; then
+ make docs || die "make docs failed"
+ fi
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ make_desktop_entry hippodraw HippoDraw hippoApp \
+ Science "/usr/share/${MY_PN}"
+ dodoc README DISCLAIMER.rtf
+}