summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuis Medinas <metalgod@gentoo.org>2006-07-02 23:31:19 +0000
committerLuis Medinas <metalgod@gentoo.org>2006-07-02 23:31:19 +0000
commit12487cb904886cb7390e53f9515de8fb33ad68dc (patch)
treefe532adb09c124b490a78102a58495342cc7fc6b /sci-physics/root
parentUpdate metadata to sci-physics. (diff)
downloadgentoo-2-12487cb904886cb7390e53f9515de8fb33ad68dc.tar.gz
gentoo-2-12487cb904886cb7390e53f9515de8fb33ad68dc.tar.bz2
gentoo-2-12487cb904886cb7390e53f9515de8fb33ad68dc.zip
Moved from sci-libs/root to sci-physics/root.
Diffstat (limited to 'sci-physics/root')
-rw-r--r--sci-physics/root/ChangeLog113
-rw-r--r--sci-physics/root/Manifest50
-rw-r--r--sci-physics/root/files/digest-root-3.05.041
-rw-r--r--sci-physics/root/files/digest-root-3.10.02-r11
-rw-r--r--sci-physics/root/files/digest-root-4.02.001
-rw-r--r--sci-physics/root/files/pgsql-no-libpq-int.patch10
-rw-r--r--sci-physics/root/files/root-makefile.patch28
-rw-r--r--sci-physics/root/metadata.xml5
-rw-r--r--sci-physics/root/root-3.05.04.ebuild77
-rw-r--r--sci-physics/root/root-3.10.02-r1.ebuild181
-rw-r--r--sci-physics/root/root-4.02.00.ebuild185
11 files changed, 652 insertions, 0 deletions
diff --git a/sci-physics/root/ChangeLog b/sci-physics/root/ChangeLog
new file mode 100644
index 000000000000..e19e8e7161ce
--- /dev/null
+++ b/sci-physics/root/ChangeLog
@@ -0,0 +1,113 @@
+# ChangeLog for sci-libs/root
+# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-physics/root/ChangeLog,v 1.1 2006/07/02 23:31:19 metalgod Exp $
+
+ 02 Jul 2006; Luis Medinas <metalgod@gentoo.org>
+ +files/pgsql-no-libpq-int.patch, +files/root-makefile.patch,
+ +metadata.xml, +root-3.05.04.ebuild, +root-3.10.02-r1.ebuild,
+ +root-4.02.00.ebuild:
+ Moved from sci-libs/root to sci-physics/root.
+
+ 23 Jun 2006; Doug Goldstein <cardoe@gentoo.org> root-3.10.02-r1.ebuild,
+ root-4.02.00.ebuild:
+ USE flag qt->qt3/qt4 change
+
+ 03 Feb 2006; Patrick Kursawe <phosphan@gentoo.org> root-3.05.04.ebuild,
+ root-3.10.02-r1.ebuild, root-4.02.00.ebuild:
+ Porting to modular X
+
+ 28 Jul 2005; Caleb Tennis <caleb@gentoo.org> root-3.10.02-r1.ebuild,
+ root-4.02.00.ebuild:
+ Fix qt dep per bug #100235
+
+ 26 Jun 2005; Olivier Fisette <ribosome@gentoo.org>
+ -files/root-4.00.06a-gcc-3.4.patch, -root-3.03.04-r2.ebuild,
+ -root-4.00.06a.ebuild:
+ Removed obsolete versions.
+
+ 08 Apr 2005; Michael Hanselmann <hansmi@gentoo.org> root-4.02.00.ebuild:
+ Like on sparc, this package doesn't work yet on ppc.
+
+ 29 Mar 2005; Ferris McCormick <fmccor@gentoo.org> root-4.02.00.ebuild:
+ Add -sparc keyword to make explicit that as distributed, this package cannot
+ build on sparc. Supported architectures are hardwired in a tgz file included
+ within the package: xrootd/src/xrootd-20041124-0752.src.tgz, and in
+ unix/src/TUnixSystem.cxx, and linux:sparc is not among them. There is no
+ apparent for this package not to work on sparc, but as constituted, it cannot
+ without upstream support.
+
+ 12 Mar 2005; Patrick Kursawe <phosphan@gentoo.org> root-4.02.00.ebuild:
+ No bugs for this version for about two months -> stable
+
+*root-4.02.00 (15 Jan 2005)
+
+ 15 Jan 2005; Olivier Fisette <ribosome@gentoo.org> +root-4.02.00.ebuild:
+ New version. GCC 3.4 patch no longer required.
+
+ 29 Dec 2004; Ciaran McCreesh <ciaranm@gentoo.org> :
+ Change encoding to UTF-8 for GLEP 31 compliance
+
+*root-3.10.02-r1 (28 Dec 2004)
+
+ 28 Dec 2004; Olivier Fisette <ribosome@gentoo.org> +metadata.xml,
+ +files/pgsql-no-libpq-int.patch, +files/root-4.00.06a-gcc-3.4.patch,
+ +files/root-makefile.patch, +root-3.03.04-r2.ebuild, +root-3.05.04.ebuild,
+ +root-3.10.02-r1.ebuild, +root-4.00.06a.ebuild:
+ Moved from dev-libs/root to sci-libs/root.
+
+*root-4.00.06a (02 Jul 2004)
+
+ 02 Jul 2004; Patrick Kursawe <phosphan@gentoo.org> metadata.xml,
+ root-4.00.06a.ebuild, files/root-4.00.06a-gcc-3.4.patch:
+ Version bump, see bug #55719 - gcc 3.4 patch extracted from "root" CVS.
+
+*root-3.10.02-r1 (15 Jun 2004)
+
+ 15 Jun 2004; Patrick Kursawe <phosphan@gentoo.org> root-3.10.02-r1.ebuild,
+ root-3.10.02.ebuild:
+ Shared libs were not found, see bug #53095
+
+ 07 Jun 2004; Patrick Kursawe <phosphan@gentoo.org> root-3.10.02.ebuild:
+ According to user report (forums/slackerman) it works for amd64.
+
+*root-3.10.02 (20 Apr 2004)
+
+ 20 Apr 2004; Patrick Kursawe <phosphan@gentoo.org> root-3.10.02.ebuild:
+ Version bump, see bug #34412
+
+ 06 Oct 2003; Heinrich Wendel <lanius@gentoo.org> root-3.05.04.ebuild:
+ stable bump #29947
+
+ 12 Jun 2003; Seemant Kulleen <seemant@gentoo.org> root-3.03.04-r2.ebuild:
+ xfree provides xpm
+
+*root-3.05.04 (25 Apr 2003)
+
+ 25 Feb 2003; Luca Barbato <kain@kain.org> root-3.05.04.ebuild :
+ New version, as suggested by Dmitry Kustov <dimok77@hotmail.com>
+
+*root-3.03.04-r2 (22 Feb 2003)
+
+ 22 Feb 2003; Bryon Roche <kain@kain.org> root-3.03.04-r1.ebuild root-3.03.04-r2.ebuild files/digest-root-3.03.04-r2 files/pgsql-no-libpq-int.patch files/root-makefile.patch :
+ Fixed header include issues with the PostgreSQL api, as well as configuration/compilation issues.
+
+ 06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords
+
+*root-3.03.04-r1 (11 Apr 2002)
+
+ 24 Oct 2002; J.Alberto Suárez López <bass@gentoo.org> root-3.03.04-r1.ebuild
+ Typo error in the ebuild appear 'econ' not 'econf'.
+
+ 11 Apr 2002; G.Bevin <gbevin@gentoo.org> root-3.03.04-r1.ebuild
+ files/digest-root-3.03.04-r1 :
+
+ Added env entry for the libs.
+ Removed rpath switch from configure since it created a segfaulting root
+ executable.
+
+*root-3.03.04 (11 Apr 2002)
+
+ 11 Apr 2002; G.Bevin <gbevin@gentoo.org> root-3.03.04.ebuild
+ files/digest-root-3.03.04 :
+
+ Initial release
diff --git a/sci-physics/root/Manifest b/sci-physics/root/Manifest
new file mode 100644
index 000000000000..ebc6e747b01c
--- /dev/null
+++ b/sci-physics/root/Manifest
@@ -0,0 +1,50 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX pgsql-no-libpq-int.patch 290 RMD160 117dd9f2efc3c0c87f179fc7e752d298c2713d72 SHA1 72832c530f48ac14590b35af992b7596844608d6 SHA256 b78b20c9b18a31d64eef04637c5d78af700e097c9fd4749151e3e97755e20402
+MD5 1ef2792a1fad865173670aa5942bef6c files/pgsql-no-libpq-int.patch 290
+RMD160 117dd9f2efc3c0c87f179fc7e752d298c2713d72 files/pgsql-no-libpq-int.patch 290
+SHA256 b78b20c9b18a31d64eef04637c5d78af700e097c9fd4749151e3e97755e20402 files/pgsql-no-libpq-int.patch 290
+AUX root-makefile.patch 742 RMD160 3b5eb20b17eb4797508d691f6e5211888cefaaf7 SHA1 7b51edd23e00d43e4dce16df0e0507a5d601a129 SHA256 983a5e3c96302b5347952547b3aa7ffce92cfc962f8ca60cdec313e6a2e69710
+MD5 58ce6f63773b28de747663b7e908e2bb files/root-makefile.patch 742
+RMD160 3b5eb20b17eb4797508d691f6e5211888cefaaf7 files/root-makefile.patch 742
+SHA256 983a5e3c96302b5347952547b3aa7ffce92cfc962f8ca60cdec313e6a2e69710 files/root-makefile.patch 742
+DIST root_v3.05.04.source.tar.gz 9386408
+DIST root_v3.10.02.source.tar.gz 10321619
+DIST root_v4.02.00.source.tar.gz 13074632
+EBUILD root-3.05.04.ebuild 1718 RMD160 18ec8f32808c6464abcbb02e737b41cee7e7e1d3 SHA1 18270453081a98c5f25fba4d0ae7af90f6ae29b5 SHA256 9619795fc48f92518c57afde1db845fda666d8673adc2b68e9fec57ea7c20514
+MD5 dc5ab79b2db4aa115943db62bb323f1c root-3.05.04.ebuild 1718
+RMD160 18ec8f32808c6464abcbb02e737b41cee7e7e1d3 root-3.05.04.ebuild 1718
+SHA256 9619795fc48f92518c57afde1db845fda666d8673adc2b68e9fec57ea7c20514 root-3.05.04.ebuild 1718
+EBUILD root-3.10.02-r1.ebuild 4858 RMD160 53cdafe730c427787d395fedc19438c2d68b3392 SHA1 811db4d855a289d533ea0f9a274ea984b0b3eaa5 SHA256 e4de07ffef0a41220b3a012917ee165105e16131a34f801e043237bbc2dad98c
+MD5 2c822023d6ecbb679de79df6fdc85c3a root-3.10.02-r1.ebuild 4858
+RMD160 53cdafe730c427787d395fedc19438c2d68b3392 root-3.10.02-r1.ebuild 4858
+SHA256 e4de07ffef0a41220b3a012917ee165105e16131a34f801e043237bbc2dad98c root-3.10.02-r1.ebuild 4858
+EBUILD root-4.02.00.ebuild 4961 RMD160 d87f5039110a82d1e571ccb88ae712322427d377 SHA1 fef9c57869bf4f06c35bebf01da13fd230e0b06c SHA256 bb4c199a51c96c631b733385efe444f215994bd0cd0431d2feaed31075e87f3b
+MD5 94ef5f4f3b0764883b1028f487c60489 root-4.02.00.ebuild 4961
+RMD160 d87f5039110a82d1e571ccb88ae712322427d377 root-4.02.00.ebuild 4961
+SHA256 bb4c199a51c96c631b733385efe444f215994bd0cd0431d2feaed31075e87f3b root-4.02.00.ebuild 4961
+MISC ChangeLog 4094 RMD160 7640daad78df8515f49c50ef36dd849625e3d25b SHA1 dd8366f65f9b018d7728fc271077c001d7c80a6a SHA256 62fad98d4643f961103f8b2860cceea38182d25e6ed3186fb4d8d22943159951
+MD5 a7d03f6153df792dd7a2e33f214a6eb8 ChangeLog 4094
+RMD160 7640daad78df8515f49c50ef36dd849625e3d25b ChangeLog 4094
+SHA256 62fad98d4643f961103f8b2860cceea38182d25e6ed3186fb4d8d22943159951 ChangeLog 4094
+MISC metadata.xml 156 RMD160 dc078172bfebcb25d69bdf8731714f9cce9d3e36 SHA1 da2b240a255820145b7c83a5c48e45b96b7e9ee6 SHA256 5d22100902db7507a5b5493dd4a66cdb08025faf80a2c0b75e6392315c47f900
+MD5 8c623e53daafa025137077c6b65815bd metadata.xml 156
+RMD160 dc078172bfebcb25d69bdf8731714f9cce9d3e36 metadata.xml 156
+SHA256 5d22100902db7507a5b5493dd4a66cdb08025faf80a2c0b75e6392315c47f900 metadata.xml 156
+MD5 053f8a5dbe37435f2b62ee44c79e9523 files/digest-root-3.05.04 73
+RMD160 79b332da1eaf47aa222804de2e00036136320f00 files/digest-root-3.05.04 73
+SHA256 40a366e9f5f3c4077da682fb9d3eadb9bc166b7905ccf87e0429e287405a3a61 files/digest-root-3.05.04 73
+MD5 da92522ba08f8d50e5197b6a9fd7549f files/digest-root-3.10.02-r1 74
+RMD160 5732a988540699a87ed18fba7ea2094ebf4dea71 files/digest-root-3.10.02-r1 74
+SHA256 b63d5ba6160e57ffbe261e1e9e354e41dccb71d87e603e7ca19e9f888e236391 files/digest-root-3.10.02-r1 74
+MD5 6ed7f7ff48d537bdd4a588d1d992b22a files/digest-root-4.02.00 74
+RMD160 3792cf82b14c10fa645468536dc1fec839ca01ac files/digest-root-4.02.00 74
+SHA256 8f21df1fc80b6373fbf1123a7a1e6559dae0245139f54084deea7ff704cea225 files/digest-root-4.02.00 74
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.3 (GNU/Linux)
+
+iD8DBQFEnH4koeSe8B0zEfwRAm3tAJ9QsulE/OzTK+nIwKCR/FiQ1dfI/QCggI97
+UZ9MO0ctQdWIh7XS4WLIwVQ=
+=kCUy
+-----END PGP SIGNATURE-----
diff --git a/sci-physics/root/files/digest-root-3.05.04 b/sci-physics/root/files/digest-root-3.05.04
new file mode 100644
index 000000000000..804b7cd89bda
--- /dev/null
+++ b/sci-physics/root/files/digest-root-3.05.04
@@ -0,0 +1 @@
+MD5 532d4181fb7b87fe28436d19c03faa9e root_v3.05.04.source.tar.gz 9386408
diff --git a/sci-physics/root/files/digest-root-3.10.02-r1 b/sci-physics/root/files/digest-root-3.10.02-r1
new file mode 100644
index 000000000000..d94d0b216c90
--- /dev/null
+++ b/sci-physics/root/files/digest-root-3.10.02-r1
@@ -0,0 +1 @@
+MD5 7e8fcc3c2c1f3590c11cb68c7f5ceeb5 root_v3.10.02.source.tar.gz 10321619
diff --git a/sci-physics/root/files/digest-root-4.02.00 b/sci-physics/root/files/digest-root-4.02.00
new file mode 100644
index 000000000000..3bfe76b5e2c0
--- /dev/null
+++ b/sci-physics/root/files/digest-root-4.02.00
@@ -0,0 +1 @@
+MD5 621c663e11ca4de453e64ee15f3c5ebc root_v4.02.00.source.tar.gz 13074632
diff --git a/sci-physics/root/files/pgsql-no-libpq-int.patch b/sci-physics/root/files/pgsql-no-libpq-int.patch
new file mode 100644
index 000000000000..e099d046d3c5
--- /dev/null
+++ b/sci-physics/root/files/pgsql-no-libpq-int.patch
@@ -0,0 +1,10 @@
+--- root/pgsql/inc/TPgSQLResult.h.orig 2003-02-22 04:11:06.000000000 -0600
++++ root/pgsql/inc/TPgSQLResult.h 2003-02-22 04:11:10.000000000 -0600
+@@ -19,7 +19,6 @@
+ #if !defined(__CINT__)
+ #include <sys/time.h>
+ #include <libpq-fe.h>
+-#include <libpq-int.h>
+ #else
+ struct PGresult;
+ #endif
diff --git a/sci-physics/root/files/root-makefile.patch b/sci-physics/root/files/root-makefile.patch
new file mode 100644
index 000000000000..ef53d0de029e
--- /dev/null
+++ b/sci-physics/root/files/root-makefile.patch
@@ -0,0 +1,28 @@
+--- root/config/Makefile.linux.old 2003-02-22 02:30:14.000000000 -0600
++++ root/config/Makefile.linux 2003-02-22 02:31:00.000000000 -0600
+@@ -8,13 +8,13 @@
+ OPT = -g
+ NOOPT =
+ else
+-OPT = -O
++OPT =
+ NOOPT =
+ endif
+
+ # Compiler:
+-CXX = g++
+-CC = gcc
++CXX = g++ $(GENTOO_CXXFLAGS)
++CC = gcc $(GENTOO_CFLAGS)
+ CXXFLAGS = -pipe -Wall -Woverloaded-virtual -fPIC $(EXTRA_CXXFLAGS)
+ CFLAGS = -pipe -Wall -fPIC $(EXTRA_CFLAGS)
+ CINTCXXFLAGS = -pipe -Wall -Woverloaded-virtual -fPIC $(EXTRA_CXXFLAGS) \
+@@ -38,7 +38,7 @@
+
+ # Fortran:
+ F77 = g77
+-F77FLAGS =
++F77FLAGS = $(GENTOO_CFLAGS)
+ F77LIBS = -lg2c -lnsl
+
+ # Extras
diff --git a/sci-physics/root/metadata.xml b/sci-physics/root/metadata.xml
new file mode 100644
index 000000000000..b229aec85b8f
--- /dev/null
+++ b/sci-physics/root/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>sci</herd>
+</pkgmetadata>
diff --git a/sci-physics/root/root-3.05.04.ebuild b/sci-physics/root/root-3.05.04.ebuild
new file mode 100644
index 000000000000..c0e3d78e4217
--- /dev/null
+++ b/sci-physics/root/root-3.05.04.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-physics/root/root-3.05.04.ebuild,v 1.1 2006/07/02 23:31:19 metalgod Exp $
+
+inherit flag-o-matic eutils
+
+S=${WORKDIR}/${PN}
+DESCRIPTION="An Object-Oriented Data Analysis Framework"
+SRC_URI="ftp://root.cern.ch/root/root_v${PV}.source.tar.gz"
+HOMEPAGE="http://root.cern.ch/"
+
+SLOT="0"
+LICENSE="as-is"
+KEYWORDS="x86 sparc ppc"
+IUSE="mysql postgres opengl"
+
+RDEPEND="|| (
+ virtual/x11
+ x11-libs/libXpm
+ )
+ >=media-libs/freetype-2.0.9
+ opengl? ( virtual/opengl virtual/glu )
+ mysql? ( >=dev-db/mysql-3.23.49 )
+ postgres? ( >=dev-db/postgresql-7.1.3-r4 )"
+
+DEPEND="${RDEPEND}
+ || (
+ virtual/x11
+ x11-proto/xproto
+ )"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ #epatch ${FILESDIR}/root-makefile.patch
+ #epatch ${FILESDIR}/pgsql-no-libpq-int.patch
+}
+
+src_compile() {
+
+ case $SYSTEM_ARCH in
+ ppc)
+ append-flags "-fsigned-char";;
+ esac
+ #export GENTOO_CFLAGS="${CFLAGS}" GENTOO_CXXFLAGS="${CXXFLAGS}"
+ ./configure \
+ linux \
+ --prefix=/usr \
+ --docdir=/usr/share/doc/${P} \
+ --enable-shared \
+ --disable-rpath \
+ --enable-thread \
+ --disable-cern \
+ --disable-sapdb \
+ --disable-rfio \
+ --disable-dcache \
+ --disable-srp \
+ --disable-afs \
+ --disable-krb5 \
+ --enable-shadowpw \
+ --disable-pythia \
+ --disable-pythia6 \
+ --disable-venus \
+ --enable-soversion \
+ `use_enable opengl` \
+ `use_enable mysql` \
+ `use_enable postgres pgsql` \
+ ${myconf} || die "./configure failed"
+ make OPT="$CFLAGS" || die
+}
+
+src_install() {
+ make DESTDIR=${D} INSTALL="install" install || die
+
+ dodir /etc/env.d
+ echo "LDPATH=/usr/lib/root" > ${D}/etc/env.d/60root
+}
diff --git a/sci-physics/root/root-3.10.02-r1.ebuild b/sci-physics/root/root-3.10.02-r1.ebuild
new file mode 100644
index 000000000000..b8eaba15eed0
--- /dev/null
+++ b/sci-physics/root/root-3.10.02-r1.ebuild
@@ -0,0 +1,181 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-physics/root/root-3.10.02-r1.ebuild,v 1.1 2006/07/02 23:31:19 metalgod Exp $
+
+inherit flag-o-matic eutils
+
+S=${WORKDIR}/${PN}
+DESCRIPTION="An Object-Oriented Data Analysis Framework"
+SRC_URI="ftp://root.cern.ch/root/root_v${PV}.source.tar.gz"
+HOMEPAGE="http://root.cern.ch/"
+
+SLOT="0"
+LICENSE="as-is"
+KEYWORDS="~x86 ~amd64"
+IUSE="mysql postgres opengl afs kerberos ldap qt3"
+
+RDEPEND="|| (
+ virtual/x11
+ x11-libs/libXpm
+ )
+ >=media-libs/freetype-2.0.9
+ sys-apps/shadow
+ opengl? ( virtual/opengl virtual/glu )
+ mysql? ( >=dev-db/mysql-3.23.49 )
+ postgres? ( >=dev-db/postgresql-7.1.3-r4 )
+ !amd64? ( afs? ( net-fs/openafs ) )
+ kerberos? ( app-crypt/mit-krb5 )
+ ldap? ( net-nds/openldap )
+ qt3? ( =x11-libs/qt-3* )"
+
+DEPEND="${RDEPEND}
+ || (
+ virtual/x11
+ x11-proto/xproto
+ )"
+
+src_compile() {
+ local myconf
+
+ if [ "x$CERNLIB" = "x" ]
+ then
+ einfo "No support for cernlib, (h/g)2root will not be build."
+ einfo "To install root with cernlib support, use:"
+ einfo " export CERNLIB=<directory>/lib"
+ einfo "where <directory>/lib contains libpacklib.[so,a] and libkernlib.[so,a]"
+ USECERN="--disable-cern"
+ else
+ if [ -e $CERNLIB/libpacklib.[so,a] -a -e $CERNLIB/libkernlib.[so,a] ]
+ then
+ einfo "Support for cernlib found."
+ USECERN="--enable-cern --with-cern-libdir=$CERNLIB"
+ else
+ einfo "No support for cernlib, (h/g)2root will not be build."
+ einfo "CERNLIB = $CERNLIB has no libpacklib.[so,a] or no libkernlib.[so,a]"
+ USECERN="--disable-cern"
+ fi
+ fi
+ einfo
+ if [ "x$PYTHIA" = "x" ]
+ then
+ einfo "No support for pythia."
+ einfo "To install root with pythia support, use:"
+ einfo " export PYTHIA=<directory>/lib"
+ einfo "where <directory>/lib contains libPythia.[so,a]"
+ USEPYTHIA="--disable-pythia"
+ else
+ if [ -e $PYTHIA/libPythia.[so,a] ]
+ then
+ einfo "Support for pythia found."
+ USEPYTHIA="--enable-pythia --with-pythia-libdir=$PYTHIA"
+ else
+ einfo "No support for pythia."
+ einfo "PYTHIA = $PYTHIA has no libPythia.[so,a]"
+ USEPYTHIA="--disable-pythia"
+ fi
+ fi
+ einfo
+ if [ "x$PYTHIA6" = "x" ]
+ then
+ einfo "No support for pythia6."
+ einfo "To install root with pythia6 support, use:"
+ einfo " export PYTHIA6=<directory>/lib"
+ einfo "where <directory>/lib contains libPythia6.[so,a]"
+ USEPYTHIA6="--disable-pythia6"
+ else
+ if [ -e $PYTHIA6/libPythia6.[so,a] ]
+ then
+ einfo "Support for pythia6 found."
+ USEPYTHIA6="--enable-pythia6 --with-pythia6-libdir=$PYTHIA6"
+ else
+ einfo "No support for pythia6."
+ einfo "PYTHIA6 = $PYTHIA6 has no libPythia6.[so,a]"
+ USEPYTHIA6="--disable-pythia6"
+ fi
+ fi
+ einfo
+ if [ "x$VENUS" = "x" ]
+ then
+ einfo "No support for venus."
+ einfo "To install root with venus support, use:"
+ einfo " export VENUS=<directory>/lib"
+ einfo "where <directory>/lib contains libVenus.[so,a]"
+ USEVENUS="--disable-venus"
+ else
+ if [ -e $VENUS/libVenus.[so,a] ]
+ then
+ einfo "Support for venus found."
+ USEVENUS="--enable-venus --with-venus-libdir=$VENUS"
+ else
+ einfo "No support for venus."
+ einfo "VENUS = $VENUS has no libVenus.[so,a]"
+ USEVENUS="--disable-venus"
+ fi
+ fi
+
+ case $SYSTEM_ARCH in
+ ppc)
+ append-flags "-fsigned-char";;
+ esac
+
+ if ! use amd64; then
+ myconf="${myconf} $(use_enable afs)"
+ else
+ myconf="${myconf} --disable-afs"
+ fi
+
+ ./configure linux \
+ --aclocaldir=/usr/share/aclocal/ \
+ --bindir=/usr/bin \
+ --cintincdir=/usr/share/root/cint \
+ --datadir=/usr/share/root \
+ --docdir=/usr/share/doc/${P} \
+ --elispdir=/usr/share/emacs/site-lisp \
+ --etcdir=/etc/root \
+ --fontdir=/usr/share/root/fonts \
+ --iconpath=/usr/share/root/icons \
+ --incdir=/usr/include/root \
+ --libdir=/usr/lib/root \
+ --macrodir=/usr/share/root/macros \
+ --mandir=/usr/share/man/man1 \
+ --prefix=/usr \
+ --proofdir=/usr/share/root/proof \
+ --srcdir=/usr/share/root/src \
+ --testdir=/usr/share/doc/${P}/test \
+ --tutdir=/usr/share/doc/${P}/tutorial \
+ --disable-alien \
+ --disable-asimage \
+ $USECERN \
+ --disable-chirp \
+ --disable-dcache \
+ --disable-exceptions \
+ --disable-explicitlink \
+ --disable-globus \
+ `use_enable kerberos krb5` \
+ `use_enable ldap` \
+ `use_enable mysql` \
+ `use_enable opengl` \
+ --disable-openiv \
+ `use_enable postgres pgsql` \
+ $USEPYTHIA \
+ $USEPYTHIA6 \
+ $(use_enable qt3 qt) \
+ --disable-rfio \
+ --disable-rpath \
+ --disable-sapdb \
+ --enable-shadowpw \
+ --enable-shared \
+ --enable-soversion \
+ --disable-srp \
+ --disable-table \
+ --enable-thread \
+ $USEVENUS \
+ ${myconf} || die "configure failed"
+ emake OPT="$CFLAGS" || die "make failed"
+}
+
+src_install() {
+ make DESTDIR=${D} INSTALL="install" install || die "install failed"
+ dodir /etc/env.d
+ echo > ${D}/etc/env.d/99root "LDPATH=\"/usr/lib/root\""
+}
diff --git a/sci-physics/root/root-4.02.00.ebuild b/sci-physics/root/root-4.02.00.ebuild
new file mode 100644
index 000000000000..80424a4266ba
--- /dev/null
+++ b/sci-physics/root/root-4.02.00.ebuild
@@ -0,0 +1,185 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-physics/root/root-4.02.00.ebuild,v 1.1 2006/07/02 23:31:19 metalgod Exp $
+
+inherit flag-o-matic eutils
+
+S=${WORKDIR}/${PN}
+DESCRIPTION="An Object-Oriented Data Analysis Framework"
+MY_VER=${PV%[a-z]}
+MY_PATCH=${PV##"${MY_VER}"}
+SRC_URI="ftp://root.cern.ch/root/root_v${MY_VER}.source${MY_PATCH}.tar.gz"
+HOMEPAGE="http://root.cern.ch/"
+
+SLOT="0"
+LICENSE="as-is"
+KEYWORDS="x86 -sparc -ppc"
+IUSE="afs kerberos ldap mysql opengl postgres python qt3"
+
+RDEPEND="|| (
+ virtual/x11
+ x11-libs/libXpm
+ )
+ >=media-libs/freetype-2.0.9
+ sys-apps/shadow
+ opengl? ( virtual/opengl virtual/glu )
+ mysql? ( >=dev-db/mysql-3.23.49 )
+ postgres? ( >=dev-db/postgresql-7.1.3-r4 )
+ !amd64? ( afs? ( net-fs/openafs ) )
+ kerberos? ( app-crypt/mit-krb5 )
+ ldap? ( net-nds/openldap )
+ qt3? ( =x11-libs/qt-3* )
+ python? ( dev-lang/python )"
+
+DEPEND="${RDEPEND}
+ || (
+ virtual/x11
+ x11-proto/xproto
+ )"
+
+src_compile() {
+
+ local myconf
+
+ if [ "x$CERNLIB" = "x" ]
+ then
+ einfo "No support for cernlib, (h/g)2root will not be build."
+ einfo "To install root with cernlib support, use:"
+ einfo " export CERNLIB=<directory>/lib"
+ einfo "where <directory>/lib contains libpacklib.[so,a] and libkernlib.[so,a]"
+ USECERN="--disable-cern"
+ else
+ if [ -e $CERNLIB/libpacklib.[so,a] -a -e $CERNLIB/libkernlib.[so,a] ]
+ then
+ einfo "Support for cernlib found."
+ USECERN="--enable-cern --with-cern-libdir=$CERNLIB"
+ else
+ einfo "No support for cernlib, (h/g)2root will not be build."
+ einfo "CERNLIB = $CERNLIB has no libpacklib.[so,a] or no libkernlib.[so,a]"
+ USECERN="--disable-cern"
+ fi
+ fi
+ einfo
+ if [ "x$PYTHIA" = "x" ]
+ then
+ einfo "No support for pythia."
+ einfo "To install root with pythia support, use:"
+ einfo " export PYTHIA=<directory>/lib"
+ einfo "where <directory>/lib contains libPythia.[so,a]"
+ USEPYTHIA="--disable-pythia"
+ else
+ if [ -e $PYTHIA/libPythia.[so,a] ]
+ then
+ einfo "Support for pythia found."
+ USEPYTHIA="--enable-pythia --with-pythia-libdir=$PYTHIA"
+ else
+ einfo "No support for pythia."
+ einfo "PYTHIA = $PYTHIA has no libPythia.[so,a]"
+ USEPYTHIA="--disable-pythia"
+ fi
+ fi
+ einfo
+ if [ "x$PYTHIA6" = "x" ]
+ then
+ einfo "No support for pythia6."
+ einfo "To install root with pythia6 support, use:"
+ einfo " export PYTHIA6=<directory>/lib"
+ einfo "where <directory>/lib contains libPythia6.[so,a]"
+ USEPYTHIA6="--disable-pythia6"
+ else
+ if [ -e $PYTHIA6/libPythia6.[so,a] ]
+ then
+ einfo "Support for pythia6 found."
+ USEPYTHIA6="--enable-pythia6 --with-pythia6-libdir=$PYTHIA6"
+ else
+ einfo "No support for pythia6."
+ einfo "PYTHIA6 = $PYTHIA6 has no libPythia6.[so,a]"
+ USEPYTHIA6="--disable-pythia6"
+ fi
+ fi
+ einfo
+ if [ "x$VENUS" = "x" ]
+ then
+ einfo "No support for venus."
+ einfo "To install root with venus support, use:"
+ einfo " export VENUS=<directory>/lib"
+ einfo "where <directory>/lib contains libVenus.[so,a]"
+ USEVENUS="--disable-venus"
+ else
+ if [ -e $VENUS/libVenus.[so,a] ]
+ then
+ einfo "Support for venus found."
+ USEVENUS="--enable-venus --with-venus-libdir=$VENUS"
+ else
+ einfo "No support for venus."
+ einfo "VENUS = $VENUS has no libVenus.[so,a]"
+ USEVENUS="--disable-venus"
+ fi
+ fi
+
+ case $SYSTEM_ARCH in
+ ppc)
+ append-flags "-fsigned-char";;
+ esac
+
+ if ! use amd64; then
+ myconf="${myconf} $(use_enable afs)"
+ else
+ myconf="${myconf} --disable-afs"
+ fi
+
+ ./configure linux \
+ --aclocaldir=/usr/share/aclocal/ \
+ --bindir=/usr/bin \
+ --cintincdir=/usr/share/root/cint \
+ --datadir=/usr/share/root \
+ --docdir=/usr/share/doc/${P} \
+ --elispdir=/usr/share/emacs/site-lisp \
+ --etcdir=/etc/root \
+ --fontdir=/usr/share/root/fonts \
+ --iconpath=/usr/share/root/icons \
+ --incdir=/usr/include/root \
+ --libdir=/usr/lib/root \
+ --macrodir=/usr/share/root/macros \
+ --mandir=/usr/share/man/man1 \
+ --prefix=/usr \
+ --proofdir=/usr/share/root/proof \
+ --srcdir=/usr/share/root/src \
+ --testdir=/usr/share/doc/${P}/test \
+ --tutdir=/usr/share/doc/${P}/tutorial \
+ --disable-alien \
+ --disable-asimage \
+ $USECERN \
+ --disable-chirp \
+ --disable-dcache \
+ --disable-exceptions \
+ --disable-explicitlink \
+ --disable-globus \
+ `use_enable kerberos krb5` \
+ `use_enable ldap` \
+ `use_enable mysql` \
+ `use_enable opengl` \
+ `use_enable postgres pgsql` \
+ $USEPYTHIA \
+ $USEPYTHIA6 \
+ $(use_enable qt3 qt) \
+ `use_enable python` \
+ --disable-rfio \
+ --disable-rpath \
+ --disable-sapdb \
+ --enable-shadowpw \
+ --enable-shared \
+ --enable-soversion \
+ --disable-srp \
+ --disable-table \
+ --enable-thread \
+ $USEVENUS \
+ ${myconf} || die "configure failed"
+ emake OPT="$CFLAGS" || die "make failed"
+}
+
+src_install() {
+ make DESTDIR=${D} INSTALL="install" install || die "install failed"
+ dodir /etc/env.d
+ echo > ${D}/etc/env.d/99root "LDPATH=\"/usr/lib/root\""
+}