# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI="2" DESCRIPTION="Contactos is a program for calculating similarities between docked poses of protein ligands" HOMEPAGE="http://users.abo.fi/mhuhtala/contactos.html" SRC_URI="http://users.abo.fi/mhuhtala/dl.php" LICENSE="GPL3" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="mcl" RDEPEND=">=dev-lang/python-2.5 mcl? ( sci-biology/mcl )" DEPEND="${RDEPEND}" src_unpack() { mkdir ${S} tar -xzf "${DISTDIR}/${A}" -C "${S}" || die "Failed to unpack" cd "${WORKDIR}/${P}" } src_install() { DOCS="changelog.txt" dohtml "contactos.html" exeinto /usr/bin newexe contactos.py contactos }