# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit eutils autotools DESCRIPTION="The Globus Toolkit - grid middleware package" HOMEPAGE="http://www.globus.org" SRC_URI="http://www.globus.org/ftppub/gt4/4.0/4.0.2/installers/src/gt4.0.2-all-source-installer.tar.bz2" LICENSE="as-is" SLOT="0" KEYWORDS="~x86" IUSE="" DEPEND="sys-libs/zlib dev-java/sun-jdk dev-java/ant sys-apps/sed dev-lang/perl app-admin/sudo dev-db/postgresql dev-db/libiodbc" RDEPEND="" pkg_setup() { enewgroup globus enewuser globus -1 -1 /usr/local/globus-4.0.2 globus } src_unpack() { unpack gt4.0.2-all-source-installer.tar.bz2 # fix so the install dirs are set to the ${D} directory #s|GPT_LOCATION=@gptlocation@|GPT_LOCATION=\${D}@gptlocation@| ; \ cd ${WORKDIR}/gt4.0.2-all-source-installer mv Makefile.in Makefile.in-orig sed -e "s|GLOBUS_LOCATION=@prefix@|GLOBUS_LOCATION=\${D}@prefix@| ; \ s|GLOBUS_IODBC_PATH=@globus_iodbc@|GLOBUS_IODBC_PATH=\${D}@globus_iodbc@|" \ Makefile.in-orig > Makefile.in } src_compile() { cd ${WORKDIR}/gt4.0.2-all-source-installer # IODBC currently doesn't work and a Scheduler option needs adding ./configure || die "./configure failed" make || die "Make failed" } # Once the install is done need to continue from here with the rest of the # setup. http://www.globus.org/toolkit/docs/4.0/admin/docbook/quickstart.html