aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sci-physics/root/ChangeLog3
-rw-r--r--sci-physics/root/Manifest16
-rw-r--r--sci-physics/root/files/digest-root-5.16.006
-rw-r--r--sci-physics/root/root-5.16.00.ebuild161
4 files changed, 182 insertions, 4 deletions
diff --git a/sci-physics/root/ChangeLog b/sci-physics/root/ChangeLog
index 28c241609..5d4ad7583 100644
--- a/sci-physics/root/ChangeLog
+++ b/sci-physics/root/ChangeLog
@@ -2,6 +2,9 @@
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 05 Jul 2007; S├ębastien Fabbro <bicatali@gentoo.org> +root-5.16.00.ebuild:
+ Version bump
+
04 Jun 2007; S├ębastien Fabbro <bicatali@gentoo.org>
-root-5.14.00e.ebuild, -files/sparc-root-5.14.00e.patch,
+root-5.14.00f.ebuild, +files/sparc-root-5.14.00f.patch:
diff --git a/sci-physics/root/Manifest b/sci-physics/root/Manifest
index 3f5f72089..c8e79e5af 100644
--- a/sci-physics/root/Manifest
+++ b/sci-physics/root/Manifest
@@ -4,14 +4,19 @@ RMD160 ea2e0a0d1cc057723738e128a8e52db32a20e573 files/sparc-root-5.14.00f.patch
SHA256 793af6821f9bd824346f8f4dde3a909ce7eef27db5d95d445c7dea52941603ef files/sparc-root-5.14.00f.patch 1923
DIST Users_Guide_5_14.pdf 11080966 RMD160 b969430ae8309ed135de0ef9742ed650cbc9a4a6 SHA1 62d89d63d26792f2a832a27e857954e9f81ad670 SHA256 1879964f493777f5fe2a98aeab290bbcb9adc923a0292b328fced3830ce6fe8e
DIST root_v5.14.00f.source.tar.gz 21403915 RMD160 a00d37e2fb2f33ca876a312155330f6c6fcb9546 SHA1 3f8d629d33841d7d2585d89ab6683e4d2e79ada4 SHA256 167601d961c241b88b12156debcb95a8e4d1b1e06e803ea72690b9c7b46f8ea1
+DIST root_v5.16.00.source.tar.gz 22187799 RMD160 d81d975106ba567f37541a738d221ffd28263080 SHA1 2e292f2ce66128395ae3851cf31e2602ce98b7b9 SHA256 0b61f94d3b8bcc3dfb358c66eb4e9b7c5b2f9f295449d6679bbefba83a2245c9
EBUILD root-5.14.00f.ebuild 4959 RMD160 4c7234823dd1562d8f172292b0ded7146ef151d9 SHA1 63469a6cf036fa2d4aa8db942197ee244bed4577 SHA256 d01803904dc8ad2a1d88ac14f0e36a95af5031962245c61dfa104847ba56826d
MD5 1f1f974547d66db554d16868634cc457 root-5.14.00f.ebuild 4959
RMD160 4c7234823dd1562d8f172292b0ded7146ef151d9 root-5.14.00f.ebuild 4959
SHA256 d01803904dc8ad2a1d88ac14f0e36a95af5031962245c61dfa104847ba56826d root-5.14.00f.ebuild 4959
-MISC ChangeLog 471 RMD160 70651b324ee806b7665bf4f5efd1c445fb955803 SHA1 d8fc0fe8036f0635e419362803dad684b726fa6c SHA256 90feba86550c3622fe6a3d36b801af85f83092892b9e581a77834f313d925db7
-MD5 6a85f81d93ae0eb0f0d4df6b3792cb12 ChangeLog 471
-RMD160 70651b324ee806b7665bf4f5efd1c445fb955803 ChangeLog 471
-SHA256 90feba86550c3622fe6a3d36b801af85f83092892b9e581a77834f313d925db7 ChangeLog 471
+EBUILD root-5.16.00.ebuild 4183 RMD160 420a4c1890cf8fcd87df228f07ec249952e1c433 SHA1 4dfe02dd9ecc43474c90c144a531d29d29ba9528 SHA256 f3a3deb20c767507342e88188601591fc825e4a00801aeee81a31a2282559420
+MD5 1451a394cf777a297b090ac965dbe6f6 root-5.16.00.ebuild 4183
+RMD160 420a4c1890cf8fcd87df228f07ec249952e1c433 root-5.16.00.ebuild 4183
+SHA256 f3a3deb20c767507342e88188601591fc825e4a00801aeee81a31a2282559420 root-5.16.00.ebuild 4183
+MISC ChangeLog 564 RMD160 48bb79aa5f8eece2fadb1fecea5f2ed44ea29094 SHA1 015c0864a4824f638573f50176dec517bb4591f6 SHA256 c8126168522331351a2890032ea959a73133f85b3913f6ca769233fc750d6f41
+MD5 9982af349fe4fc9d625c243ac110fec8 ChangeLog 564
+RMD160 48bb79aa5f8eece2fadb1fecea5f2ed44ea29094 ChangeLog 564
+SHA256 c8126168522331351a2890032ea959a73133f85b3913f6ca769233fc750d6f41 ChangeLog 564
MISC metadata.xml 597 RMD160 d61e05bcfed3b0839b7daf4cf3fdac3fcdfd268d SHA1 8fd69478a8a90f6222b1e428961815e0e697905a SHA256 8ae8ab4051e8534ca2df70f81fb999c478b8f1223980c0b366dc0501fa987c6c
MD5 0aa16bc6128c88a9afdbf32450c6f8de metadata.xml 597
RMD160 d61e05bcfed3b0839b7daf4cf3fdac3fcdfd268d metadata.xml 597
@@ -19,3 +24,6 @@ SHA256 8ae8ab4051e8534ca2df70f81fb999c478b8f1223980c0b366dc0501fa987c6c metadata
MD5 af78404816b1850418be7d274c14bb73 files/digest-root-5.14.00f 518
RMD160 187c9cb63c756c9798fca7ec40165335eff24a17 files/digest-root-5.14.00f 518
SHA256 2074832f98ba1ef60a069a4b5805d8af356b06b08a82469f063a6e53a17c8d65 files/digest-root-5.14.00f 518
+MD5 f05df674b99d1dfba83fa82e8763e34f files/digest-root-5.16.00 515
+RMD160 06767b237544a5958bd8d8a47961345e457663e7 files/digest-root-5.16.00 515
+SHA256 2d42bfbdaa7ae8fde263d996a16d076327aec2f582bc8a4a9cf140b3d59f6f6d files/digest-root-5.16.00 515
diff --git a/sci-physics/root/files/digest-root-5.16.00 b/sci-physics/root/files/digest-root-5.16.00
new file mode 100644
index 000000000..32922fdc2
--- /dev/null
+++ b/sci-physics/root/files/digest-root-5.16.00
@@ -0,0 +1,6 @@
+MD5 c52c3967606b5a07b648d03d7166a5c4 Users_Guide_5_14.pdf 11080966
+RMD160 b969430ae8309ed135de0ef9742ed650cbc9a4a6 Users_Guide_5_14.pdf 11080966
+SHA256 1879964f493777f5fe2a98aeab290bbcb9adc923a0292b328fced3830ce6fe8e Users_Guide_5_14.pdf 11080966
+MD5 737171be851219ecbeaa03f178d96094 root_v5.16.00.source.tar.gz 22187799
+RMD160 d81d975106ba567f37541a738d221ffd28263080 root_v5.16.00.source.tar.gz 22187799
+SHA256 0b61f94d3b8bcc3dfb358c66eb4e9b7c5b2f9f295449d6679bbefba83a2245c9 root_v5.16.00.source.tar.gz 22187799
diff --git a/sci-physics/root/root-5.16.00.ebuild b/sci-physics/root/root-5.16.00.ebuild
new file mode 100644
index 000000000..4a6e5d79e
--- /dev/null
+++ b/sci-physics/root/root-5.16.00.ebuild
@@ -0,0 +1,161 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit versionator flag-o-matic eutils toolchain-funcs qt3 fortran
+
+#DOC_PV=$(get_major_version)_$(get_version_component_range 2)
+DOC_PV=5_14
+
+DESCRIPTION="C++ data analysis framework and interpreter from CERN"
+SRC_URI="ftp://root.cern.ch/${PN}/${PN}_v${PV}.source.tar.gz
+ doc? ( ftp://root.cern.ch/root/doc/Users_Guide_${DOC_PV}.pdf )"
+HOMEPAGE="http://root.cern.ch/"
+
+SLOT="0"
+LICENSE="LGPL-2"
+KEYWORDS="~amd64 ~sparc ~x86"
+IUSE="afs cern doc fftw kerberos ldap mysql odbc opengl postgres
+ python ruby qt3 ssl xml"
+
+DEPEND="sys-apps/shadow
+ >=sci-libs/gsl-1.8
+ dev-libs/libpcre
+ || ( media-libs/libafterimage x11-wm/afterstep )
+ opengl? ( virtual/opengl virtual/glu )
+ mysql? ( dev-db/mysql )
+ postgres? ( dev-db/postgresql )
+ afs? ( net-fs/openafs )
+ kerberos? ( virtual/krb5 )
+ ldap? ( net-nds/openldap )
+ qt3? ( $(qt_min_version 3.3.4) )
+ fftw? ( >=sci-libs/fftw-3 )
+ python? ( dev-lang/python )
+ ruby? ( dev-lang/ruby )
+ ssl? ( dev-libs/openssl )
+ xml? ( dev-libs/libxml2 )
+ cern? ( sci-physics/cernlib )
+ odbc? ( dev-db/unixODBC )"
+
+S=${WORKDIR}/${PN}
+
+pkg_setup() {
+ elog
+ elog "You may want to build ROOT with these non Gentoo extra packages:"
+ elog "AliEn, castor, Chirp, Globus, Monalisa, Oracle, peac, "
+ elog "PYTHIA, PYTHIA6, SapDB, SRP, Venus"
+ elog "You can use the EXTRA_CONF variable for this."
+ elog "Example, for PYTHIA, you would do: "
+ elog "EXTRA_CONF=\"--enable-pythia --with-pythia-libdir=/usr/$(get_libdir)\" emerge root"
+ elog
+
+ if use cern; then
+ FORTRAN="gfortran g77 ifc"
+ fortran_pkg_setup
+ fi
+}
+
+src_unpack() {
+
+ if use cern; then
+ fortran_src_unpack
+ else
+ unpack ${A}
+ fi
+}
+
+src_compile() {
+ # the configure script is not the standard autotools
+ ./configure ${EXTRA_CONF} \
+ --prefix=/usr \
+ --bindir=/usr/bin \
+ --mandir=/usr/share/man/man1 \
+ --incdir=/usr/include/${PN} \
+ --libdir=/usr/$(get_libdir)/${PN} \
+ --aclocaldir=/usr/share/aclocal/ \
+ --datadir=/usr/share/${PN} \
+ --cintincdir=/usr/share/${PN}/cint \
+ --fontdir=/usr/share/${PN}/fonts \
+ --iconpath=/usr/share/${PN}/icons \
+ --macrodir=/usr/share/${PN}/macros \
+ --srcdir=/usr/share/${PN}/src \
+ --docdir=/usr/share/doc/${PF} \
+ --testdir=/usr/share/doc/${PF}/test \
+ --tutdir=/usr/share/doc/${PF}/tutorial \
+ --elispdir=/usr/share/emacs/site-lisp \
+ --etcdir=/etc/${PN} \
+ --disable-alien \
+ --disable-builtin-afterimage \
+ --disable-builtin-freetype \
+ --disable-builtin-pcre \
+ --disable-builtin-zlib \
+ --disable-chirp \
+ --disable-dcache \
+ --disable-globus \
+ --disable-rfio \
+ --disable-rpath \
+ --disable-sapdb \
+ --disable-srp \
+ --enable-asimage \
+ --enable-astiff \
+ --enable-cintex \
+ --enable-exceptions \
+ --enable-explicitlink \
+ --enable-gdml \
+ --enable-mathcore \
+ --enable-mathmore \
+ --enable-minuit2 \
+ --enable-reflex \
+ --enable-roofit \
+ --enable-shared \
+ --enable-soversion \
+ --enable-table \
+ --enable-thread \
+ --enable-unuran \
+ --enable-xrootd \
+ $(use_enable afs) \
+ $(use_enable cern) \
+ $(use_enable fftw fftw3) \
+ $(use_enable kerberos krb5) \
+ $(use_enable ldap) \
+ $(use_enable mysql) \
+ $(use_enable odbc) \
+ $(use_enable opengl) \
+ $(use_enable postgres pgsql) \
+ $(use_enable python) \
+ $(use_enable qt3 qt) \
+ $(use_enable qt3 qtgsi) \
+ $(use_enable ruby) \
+ $(use_enable ssl) \
+ $(use_enable xml) \
+ || die "configure failed"
+ local myfortran
+ if use cern; then
+ myfortran="F77=${FORTRANC} F77LD=${FORTRANC}"
+ if [[ "${FORTRANC}" == "g77" ]]; then
+ myfortran="${myfortran} F77LIBS=-lg2c"
+ else
+ myfortran="${myfortran} F77LIBS=-lgfortran"
+ fi
+ fi
+ emake \
+ OPTFLAGS="${CXXFLAGS}" \
+ ${myfortran} \
+ || die "emake failed"
+
+ # is this only for windows? not quite sure.
+ make cintdlls || die "make cintdlls failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ echo "LDPATH=\"/usr/$(get_libdir)/root\"" > 99root
+ doenvd 99root
+
+ if use doc; then
+ einfo "Installing user's guide and ref manual"
+ insinto /usr/share/doc/${PF}
+ doins "${DISTDIR}"/Users_Guide_${DOC_PV}.pdf
+ dohtml -r ${WORKDIR}/htmldoc
+ fi
+}