# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit eutils DESCRIPTION="This allows you to run msms as a standalone application. A wrapped version of the library comes with MGLTools" SRC_URI="x86? ( http://mgltools.scripps.edu/downloads/tars/releases/MSMSRELEASE/REL${PV}/${PN}_i86Linux2_${PV}.tar.gz ) amd64? ( http://mgltools.scripps.edu/downloads/tars/releases/MSMSRELEASE/REL${PV}/${PN}_i86_64Linux2_${PV}.tar.gz )" HOMEPAGE="http://mgltools.scripps.edu" RESTRICT="mirror" LICENSE="academical free" SLOT="" KEYWORDS="~x86 ~amd64" IUSE="static" RDEPEND="" DEPEND="${RDEPEND}" src_install() { insinto /usr/lib/msms/ doins atmtypenumbers exeinto /usr/lib/msms/ doexe pdb_to_xyzr pdb_to_yzrn x86? && doexe msms.i86Linux2.2.6.1 amd64? && !static? && doexe msms.x86_64Linux2.2.6.1 amd64? && static? && doexe msms.x86_64Linux2.2.6.1.staticgcc x86 && dosym /usr/lib/msms/msms.i86Linux2.2.6.1 /usr/bin/msms amd64? && static? && dosym /usr/lib/msms/msms.x86_64Linux2.2.6.1staticgcc /usr/bin/msms amd64? && !static? && dosym /usr/lib/msms/msms.x86_64Linux2.2.6.1 /usr/bin/msms dosym /usr/lib/msms/pdb_to_xyzr /usr/bin/pdb_to_xyzr dosym /usr/lib/msms/pdb_to_xyzrn /usr/bin/pdb_to_xyzrn dodoc README ReleaseNotes doman msms.1 }