# Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # $Header: /var/cvsroot/gentoo-x86/dev-libs/lam-mpi/lam-mpi-6.5.6.ebuild,v 1.1 2002/07/30 03:53:31 george Exp $ Name="lam" S=${WORKDIR}/${Name}-${PV} DESCRIPTION="the LAM MPI parallel computing environment" SRC_URI="http://www.lam-mpi.org/download/files/${Name}-${PV}.tar.bz2" HOMEPAGE="http://www.lam-mpi.org" DEPEND="virtual/glibc" # we need ssh if we want to use it instead of rsh RDEPEND="net-misc/openssh" SLOT="6" KEYWORDS="x86" LICENSE="as-is" src_unpack() { unpack ${A} cd ${S}/romio/util/ mv romioinstall.in romioinstall.in-orig sed -e "s|docdir=\"\$datadir/lam/doc\"|docdir=\"${D}/usr/share/doc/${PF}\"|" romioinstall.in-orig >romioinstall.in } src_compile() { ./configure \ --infodir=/usr/share/info --mandir=/usr/share/man --prefix=/usr \ --host="${CHOST}" --with-cflags="${CFLAGS}" \ --sysconfdir=/etc/lam-mpi \ --with-cxxflags="${CXXFLAGS}" --with-rsh="ssh -x" || die # sometimes emake doesn't finish since it gets ahead of itself :) make || die } src_install () { make prefix=${D}/usr \ mandir=${D}/usr/share/man infodir=${D}/usr/share/info \ sysconfdir=${D}/etc/lam-mpi install || die dodoc README HISTORY LICENSE RELEASE_NOTES VERSION }