--- /dev/null
+AUX 21globus-build 187 RMD160 2c9f1bd0051f19721a9fc43024cbbd920c8bc965 SHA1 55f53f00e674631402ed7cb90813de585360aa26 SHA256 21b2c26cc49ea4808918b1f6bb253e251ed6a228b6fab93996835ff9eadda741
+DIST gt4.2.1-all-source-installer.tar.bz2 111057292 RMD160 a8ffb66c47c0221acdf17256e1495e613417226e SHA1 33c6868189a6652a8714abe9ad8fa2cc481dd1d7 SHA256 f22deb1d47556e9c4be8ed556f497e6cded641c41f103663d7f499f9175d3705
+EBUILD globus-build-4.2.1.ebuild 2627 RMD160 47fe2a7107ebedc0b9f8dfcd2db987b8d0cb52b2 SHA1 e5af7806780d167b12c74da81a0feaca9ece0b82 SHA256 5d7c87ee3bcdd86e993a624c83ba18cbc7b8c6002b943d2ef907a32e90d31b1f
+MISC ChangeLog 343 RMD160 2b6411cc633f89ffd82f2935ca60758680471268 SHA1 ae9422aee7386367218f28da89b0caead870cb70 SHA256 490d0fc0d7469ee951fe9b86746c8477349b5babd87bb075bd81f12fa4991bc9
+MISC metadata.xml 541 RMD160 f12851f95f2fa1b77ecd2c5c15528bf0326160cf SHA1 35c94a8b8f47d3c506c9ee9600c86ec9eaeec6f6 SHA256 ac620f509af5812582c8bee099b9131aadc2082750cd05535b9640da92e63f1e
--- /dev/null
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="2"
+
+# The globus-build tools do not require java to be installed, BUT
+# configure still expects it...
+inherit eutils java-pkg-2 java-utils-2
+
+MY_P="gt${PV}-all-source-installer"
+
+DESCRIPTION="The Globus Toolkit Build Tools"
+HOMEPAGE="http://www.globus.org/toolkit/"
+
+SRC_URI="http://www-unix.globus.org/ftppub/gt${PV:0:1}/${PV}/installers/src/${MY_P}.tar.bz2"
+
+LICENSE="GTPL"
+
+SLOT="4"
+KEYWORDS="~x86"
+
+IUSE="condor iodbc lsf odbc pbs"
+
+RDEPEND="
+ dev-java/ant
+ sys-libs/zlib
+ dev-lang/perl
+ app-admin/sudo
+ dev-libs/openssl
+ dev-db/postgresql
+ dev-perl/XML-Parser
+ virtual/mpi
+ iodbc? ( dev-db/libiodbc )
+ odbc? ( !iodbc? ( dev-db/unixODBC ) )"
+
+DEPEND=">=virtual/jdk-1.5
+ ${RDEPEND}"
+
+S="${WORKDIR}/${MY_P}"
+
+GLOBUS="/opt/globus${PV:0:1}"
+
+pkg_setup() {
+ enewgroup globus
+ enewuser globus -1 -1 /var/globus globus
+}
+
+src_prepare() {
+ mkdir "${S}"/build || die "making build directory failed"
+
+ sed -e "s|%%GLOBUS%%|${GLOBUS}|" \
+ "${FILESDIR}"/21globus-build > "${T}"/21globus-build \
+ || die "sed envfile failed"
+}
+
+src_configure() {
+ local myconfig
+
+ # should we use odbc with iodbc or unixodbc
+ if use iodbc ; then
+ myconfig="--with-iodbc-libs=$(iodbc-config --prefix)/lib"
+ myconfig="${myconfig} --with-iodbc-includes=$(iodbc-config --prefix)/include/iodbc"
+ elif use odbc ; then
+ myconfig="--with-unixodbc-libs=/usr/lib"
+ myconfig="${myconfig} --with-unixodbc-includes=/usr/include/unixodbc"
+ fi
+
+ # even though globus does not use java we still need all the junk to
+ # make configure happy...
+ java-pkg_switch-vm
+
+ econf --prefix="${S}/build/${GLOBUS}" \
+ --with-gptlocation="${S}/build/${GLOBUS}" \
+ $(use_enable condor wsgram-condor) \
+ $(use_enable lsf wsgram-lsf) \
+ $(use_enable pbs wsgram-pbs) ${myconfig}
+}
+
+src_compile() {
+ emake gpt || die "compile failed"
+}
+
+src_install() {
+ einfo "Hand installing..."
+ # The supplied Makefile install violates standard practices. The
+ # following simulates a "make DESTDIR=${D}" and moves the built
+ # programs/files into ${D}
+ mv "${S}"/build/* "${D}/" || die "mv failed"
+
+ doenvd "${T}"/21globus-build || die "install env.d/globus-build died"
+
+ einfo "Updating ownership and permissions..."
+ fowners -R globus:globus * || die "fowners failed"
+}
+
+pkg_postrm() {
+ if [ -z has_version ]; then
+ ewarn "Globus builds and installs files into ${GLOBUS}"
+ ewarn "after package installation. After uninstalling"
+ ewarn "you may want to manually remove all or part of the Globus"
+ ewarn "installation directory ${GLOBUS}."
+ fi
+}
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd> not sure yet </herd>
+<maintainer>
+ <email>maintainer-wanted@gentoo.org</email>
+ <name>maintainer-wanted</name>
+</maintainer>
+<longdescription>
+ The Globus Toolkit - grid middleware package build tools
+</longdescription>
+<use>
+ <flag name='condor'>Condor-G scheduler support</flag>
+ <flag name='lsf'>Platform LSF support</flag>
+ <flag name='pbs'>Portable Batch System support</flag>
+</use>
+</pkgmetadata>