diff options
Diffstat (limited to 'sci-chemistry/probe/probe-2.12.110413.ebuild')
-rw-r--r-- | sci-chemistry/probe/probe-2.12.110413.ebuild | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/sci-chemistry/probe/probe-2.12.110413.ebuild b/sci-chemistry/probe/probe-2.12.110413.ebuild new file mode 100644 index 000000000000..bb0a36a232de --- /dev/null +++ b/sci-chemistry/probe/probe-2.12.110413.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 + +inherit eutils toolchain-funcs + +MY_P="${PN}.${PV}" + +DESCRIPTION="Evaluates atomic packing within or between molecules" +HOMEPAGE="http://kinemage.biochem.duke.edu/software/probe.php" +SRC_URI="http://kinemage.biochem.duke.edu/downloads/software/probe/${MY_P}.src.zip" + +SLOT="0" +LICENSE="richardson" +KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos" +IUSE="" + +RDEPEND="" +DEPEND="${RDEPEND} + app-arch/unzip" + +S="${WORKDIR}"/trunk + +src_prepare() { + epatch "${FILESDIR}"/${PV}-as-needed.patch + # Respect CC + sed -i \ + -e 's:cc:$(CC):g' \ + "${S}"/Makefile || die + tc-export CC +} + +src_install() { + dobin "${S}"/probe + dodoc "${S}"/README* +} |