diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2007-09-16 11:49:42 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2007-09-16 11:49:42 +0000 |
commit | 68f8e8d3542b6d22f4a36f49397d4e6d8a2652bd (patch) | |
tree | d109d909b6d1555c0ae827dc744f12cfbf1fc0f7 /sci-physics | |
parent | x86 stable, bug #191489 (diff) | |
download | gentoo-2-68f8e8d3542b6d22f4a36f49397d4e6d8a2652bd.tar.gz gentoo-2-68f8e8d3542b6d22f4a36f49397d4e6d8a2652bd.tar.bz2 gentoo-2-68f8e8d3542b6d22f4a36f49397d4e6d8a2652bd.zip |
Cleaning old versions and fixing bug #190163, thanks to fmccor
(Portage version: 2.1.2.12)
Diffstat (limited to 'sci-physics')
-rw-r--r-- | sci-physics/root/ChangeLog | 9 | ||||
-rw-r--r-- | sci-physics/root/files/digest-root-3.10.02-r1 | 3 | ||||
-rw-r--r-- | sci-physics/root/files/digest-root-5.14.00b | 6 | ||||
-rw-r--r-- | sci-physics/root/files/digest-root-5.14.00c | 6 | ||||
-rw-r--r-- | sci-physics/root/files/pgsql-no-libpq-int.patch | 10 | ||||
-rw-r--r-- | sci-physics/root/files/root-makefile.patch | 28 | ||||
-rw-r--r-- | sci-physics/root/files/sparc-root-5.16.00.patch (renamed from sci-physics/root/files/sparc-root-5.14.00c.patch) | 18 | ||||
-rw-r--r-- | sci-physics/root/root-3.10.02-r1.ebuild | 175 | ||||
-rw-r--r-- | sci-physics/root/root-5.14.00b.ebuild | 136 | ||||
-rw-r--r-- | sci-physics/root/root-5.14.00c.ebuild | 163 | ||||
-rw-r--r-- | sci-physics/root/root-5.16.00.ebuild | 8 |
11 files changed, 19 insertions, 543 deletions
diff --git a/sci-physics/root/ChangeLog b/sci-physics/root/ChangeLog index d10bf9d15f09..132a2b18cfda 100644 --- a/sci-physics/root/ChangeLog +++ b/sci-physics/root/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for sci-physics/root # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-physics/root/ChangeLog,v 1.8 2007/08/24 22:09:08 bicatali Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-physics/root/ChangeLog,v 1.9 2007/09/16 11:49:42 bicatali Exp $ + + 16 Sep 2007; Sébastien Fabbro <bicatali@gentoo.org> + -files/sparc-root-5.14.00c.patch, +files/sparc-root-5.16.00.patch, + -files/pgsql-no-libpq-int.patch, -files/root-makefile.patch, + -root-3.10.02-r1.ebuild, -root-5.14.00b.ebuild, -root-5.14.00c.ebuild, + root-5.16.00.ebuild: + Cleaning old versions and fixing bug #190163, thanks to fmccor *root-5.16.00 (24 Aug 2007) diff --git a/sci-physics/root/files/digest-root-3.10.02-r1 b/sci-physics/root/files/digest-root-3.10.02-r1 deleted file mode 100644 index b3f109a4172a..000000000000 --- a/sci-physics/root/files/digest-root-3.10.02-r1 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 7e8fcc3c2c1f3590c11cb68c7f5ceeb5 root_v3.10.02.source.tar.gz 10321619 -RMD160 f62f9d4eafbaf383f802ffc5beb2dd17ad1a4935 root_v3.10.02.source.tar.gz 10321619 -SHA256 48eb83668c9e4e96fe13581394cd2051c7842d42890692a203b5f262bb5ed72b root_v3.10.02.source.tar.gz 10321619 diff --git a/sci-physics/root/files/digest-root-5.14.00b b/sci-physics/root/files/digest-root-5.14.00b deleted file mode 100644 index 74c00883b9bd..000000000000 --- a/sci-physics/root/files/digest-root-5.14.00b +++ /dev/null @@ -1,6 +0,0 @@ -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 1b8a4b45d13ebf88ccaa3dc0ad1710fa root_v5.14.00b.source.tar.gz 21403104 -RMD160 20ecffe3c53ce42363912757f01089cc8b5df4e1 root_v5.14.00b.source.tar.gz 21403104 -SHA256 14a0dda40da79bbddc6b0874bd5aba9173685f718dfb326ec068dca700fda12f root_v5.14.00b.source.tar.gz 21403104 diff --git a/sci-physics/root/files/digest-root-5.14.00c b/sci-physics/root/files/digest-root-5.14.00c deleted file mode 100644 index 0298fb61e389..000000000000 --- a/sci-physics/root/files/digest-root-5.14.00c +++ /dev/null @@ -1,6 +0,0 @@ -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 4eff38190d89044d19d35856f5358a0d root_v5.14.00c.source.tar.gz 21402659 -RMD160 b4388a1f1401199e8d1b45d549a4cf73cb6de4c1 root_v5.14.00c.source.tar.gz 21402659 -SHA256 cc281db914e7c5d77be4368f6953b63237c56ba8616975b1403e491c5b99e801 root_v5.14.00c.source.tar.gz 21402659 diff --git a/sci-physics/root/files/pgsql-no-libpq-int.patch b/sci-physics/root/files/pgsql-no-libpq-int.patch deleted file mode 100644 index e099d046d3c5..000000000000 --- a/sci-physics/root/files/pgsql-no-libpq-int.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- 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 deleted file mode 100644 index ef53d0de029e..000000000000 --- a/sci-physics/root/files/root-makefile.patch +++ /dev/null @@ -1,28 +0,0 @@ ---- 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/files/sparc-root-5.14.00c.patch b/sci-physics/root/files/sparc-root-5.16.00.patch index 8735709f7c04..1cb87bdd84f6 100644 --- a/sci-physics/root/files/sparc-root-5.14.00c.patch +++ b/sci-physics/root/files/sparc-root-5.16.00.patch @@ -1,15 +1,5 @@ ---- root/configure- 2007-02-09 15:44:32.000000000 +0000 -+++ root/configure 2007-02-09 15:48:07.000000000 +0000 -@@ -696,6 +696,7 @@ - linux:x86_64:*) arch=linuxx8664gcc ;; - linux:alpha:*) arch=linuxalphagcc ;; - linux:arm*:*) arch=linuxarm ;; -+ linux:sparc*:*) arch=linux ;; - linux:ppc64*:*) arch=linuxppc64gcc ;; - linux:ppc*:*) arch=linuxppcgcc ;; - linux:i*86:*) arch=linux ;; ---- root/xrootd/src/xrootd/config/ARCHS- 2007-02-09 15:40:20.000000000 +0000 -+++ root/xrootd/src/xrootd/config/ARCHS 2007-02-09 15:43:33.000000000 +0000 +--- xrootd/config/ARCHS- 2007-08-28 15:40:20.000000000 +0000 ++++ xrootd/config/ARCHS 2007-08-28 15:43:33.000000000 +0000 @@ -35,6 +35,7 @@ x86_64_linux_26 iccx8664 all for AMD Opteron 64 Linux kernel 2.6.x Intel icc x86_64_linux iccx8664 all for AMD Opteron 64 Linux Intel icc @@ -18,8 +8,8 @@ arm_linux gcc no for ARM Linux egcs and glibc ppc_linux gcc all for PPC Linux egcs/gcc and glibc ppc_linux gccppc64 all for PPC Linux egcs/gcc and glibc - 64 bit ---- root/xrootd/src/xrootd/configure.classic- 2007-02-09 15:35:58.000000000 +0000 -+++ root/xrootd/src/xrootd/configure.classic 2007-02-09 15:37:38.000000000 +0000 +--- xrootd/configure.classic- 2007-08-28 15:35:58.000000000 +0000 ++++ xrootd/configure.classic 2007-08-28 15:37:38.000000000 +0000 @@ -421,6 +421,7 @@ linux:arm*:*) arch=arm_linux ; platform=linux; ccflv=gcc;; linux:ppc64:*) arch=ppc_linux ; platform=linux; ccflv=gccppc64;; diff --git a/sci-physics/root/root-3.10.02-r1.ebuild b/sci-physics/root/root-3.10.02-r1.ebuild deleted file mode 100644 index 3a09e7b62dc5..000000000000 --- a/sci-physics/root/root-3.10.02-r1.ebuild +++ /dev/null @@ -1,175 +0,0 @@ -# Copyright 1999-2007 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.3 2007/07/22 06:53:29 dberkholz 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="x11-libs/libXpm - >=media-libs/freetype-2.0.9 - sys-apps/shadow - opengl? ( virtual/opengl virtual/glu ) - mysql? ( virtual/mysql ) - 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} - 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-5.14.00b.ebuild b/sci-physics/root/root-5.14.00b.ebuild deleted file mode 100644 index 1a988994b8ae..000000000000 --- a/sci-physics/root/root-5.14.00b.ebuild +++ /dev/null @@ -1,136 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-physics/root/root-5.14.00b.ebuild,v 1.1 2007/02/05 16:04:09 bicatali Exp $ - -inherit versionator flag-o-matic eutils toolchain-funcs qt3 - -DOC_PV=$(get_major_version)_$(get_version_component_range 2) - -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 ~x86" -IUSE="afs 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? ( app-crypt/mit-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 ) - odbc? ( dev-db/unixODBC )" - -S=${WORKDIR}/${PN} - -pkg_setup() { - einfo - einfo "You may want to build ROOT with these non Gentoo extra packages:" - einfo "AliEn, castor, Chirp, Globus, Monalisa, Oracle, peac, " - einfo "PYTHIA, PYTHIA6, SapDB, SRP, Venus" - einfo "You can use the EXTRA_CONF variable for this." - einfo "Example, for PYTHIA, you would do: " - einfo "EXTRA_CONF=\"--enable-pythia --with-pythia-libdir=/usr/lib\" emerge root" - einfo -} - -src_compile() { - # the configure script is not the standard autotools - ./configure \ - --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-cern \ - --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-xrootd \ - $(use_enable afs) \ - $(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) \ - ${EXTRA_CONF} \ - || die "configure failed" - - emake \ - OPTFLAGS="${CXXFLAGS}" \ - || 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 -} diff --git a/sci-physics/root/root-5.14.00c.ebuild b/sci-physics/root/root-5.14.00c.ebuild deleted file mode 100644 index 8355d283e087..000000000000 --- a/sci-physics/root/root-5.14.00c.ebuild +++ /dev/null @@ -1,163 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-physics/root/root-5.14.00c.ebuild,v 1.1 2007/03/05 19:02:19 bicatali Exp $ - -inherit versionator flag-o-matic eutils toolchain-funcs qt3 - -DOC_PV=$(get_major_version)_$(get_version_component_range 2) - -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 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? ( app-crypt/mit-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 ) - 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 -} - -src_unpack() { - unpack ${A} - if [[ ${ARCH} == sparc ]]; then - einfo "Patch to allow ${ARCH} autoconf --- Bug 87305" - # first unpack all the way - cd ${S}/xrootd/src - einfo "Unpacking xrootd and mark it done" - tar xzf xrootd-20060928-1600.src.tgz - #touch headers.d - einfo "Patching for sparc..." - cd ${WORKDIR} - epatch ${FILESDIR}/sparc-${P}.patch - einfo "... complete. Now replace with something more sparc-friendly." - cd ${S}/xrootd/src - einfo "Building a kinder .tgz file" - tar czf xrootd-20060928-1600.src.tgz xrootd - einfo "Destroy all traces" - rm -rf xrootd - einfo "Unpacked for sparc" - 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-cern \ - --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-xrootd \ - $(use_enable afs) \ - $(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" - - emake \ - OPTFLAGS="${CXXFLAGS}" \ - rootcint compiledata || die "emake rootcint failed" - emake -j1 \ - OPTFLAGS="${CXXFLAGS}" \ - rootlibs || die "emake rootlibs failed" - emake \ - OPTFLAGS="${CXXFLAGS}" \ - || 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 -} diff --git a/sci-physics/root/root-5.16.00.ebuild b/sci-physics/root/root-5.16.00.ebuild index 76e31b1bbf28..1f7687a6cd29 100644 --- a/sci-physics/root/root-5.16.00.ebuild +++ b/sci-physics/root/root-5.16.00.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-physics/root/root-5.16.00.ebuild,v 1.1 2007/08/24 22:09:08 bicatali Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-physics/root/root-5.16.00.ebuild,v 1.2 2007/09/16 11:49:42 bicatali Exp $ inherit versionator flag-o-matic eutils toolchain-funcs qt3 fortran @@ -61,6 +61,12 @@ src_unpack() { cd "${S}" # patch to properly set link flags with fortran compilers epatch "${FILESDIR}"/${P}-fortran.patch + if [[ ${ARCH} == sparc ]]; then + cd "${S}/xrootd/src" + tar xzf xrootd-20060928-1600.src.tgz + epatch "${FILESDIR}"/sparc-${P}.patch + tar czf xrootd-20060928-1600.src.tgz xrootd + fi } src_compile() { |