summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Fisette <ribosome@gentoo.org>2007-06-26 18:42:29 +0000
committerOlivier Fisette <ribosome@gentoo.org>2007-06-26 18:42:29 +0000
commit93e332ddfdf0fba0d1d1a522e69de38918e77955 (patch)
tree95f48cd273d15eb1ec9ee1628cc1074aaa5c13a4 /sci-chemistry/autodock
parentStable on ppc; bug #181059. (diff)
downloadgentoo-2-93e332ddfdf0fba0d1d1a522e69de38918e77955.tar.gz
gentoo-2-93e332ddfdf0fba0d1d1a522e69de38918e77955.tar.bz2
gentoo-2-93e332ddfdf0fba0d1d1a522e69de38918e77955.zip
Install documentation and parameter files. Added test suite. Ebuild clean-up.
(Portage version: 2.1.2.7)
Diffstat (limited to 'sci-chemistry/autodock')
-rw-r--r--sci-chemistry/autodock/ChangeLog8
-rw-r--r--sci-chemistry/autodock/autodock-4.0.1-r1.ebuild62
-rw-r--r--sci-chemistry/autodock/files/digest-autodock-4.0.1-r13
3 files changed, 72 insertions, 1 deletions
diff --git a/sci-chemistry/autodock/ChangeLog b/sci-chemistry/autodock/ChangeLog
index e5325d98c8be..2241ba631b29 100644
--- a/sci-chemistry/autodock/ChangeLog
+++ b/sci-chemistry/autodock/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sci-chemistry/autodock
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/autodock/ChangeLog,v 1.3 2007/06/21 14:58:03 ribosome Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/autodock/ChangeLog,v 1.4 2007/06/26 18:42:29 ribosome Exp $
+
+*autodock-4.0.1-r1 (26 Jun 2007)
+
+ 26 Jun 2007; Olivier Fisette <ribosome@gentoo.org>
+ +autodock-4.0.1-r1.ebuild:
+ Install documentation and parameter files. Added test suite. Ebuild clean-up.
21 Jun 2007; Olivier Fisette <ribosome@gentoo.org> autodock-4.0.1.ebuild:
Added a notice and URL to encourage Gentoo users to register as AutoDock
diff --git a/sci-chemistry/autodock/autodock-4.0.1-r1.ebuild b/sci-chemistry/autodock/autodock-4.0.1-r1.ebuild
new file mode 100644
index 000000000000..65b45058f4b2
--- /dev/null
+++ b/sci-chemistry/autodock/autodock-4.0.1-r1.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/autodock/autodock-4.0.1-r1.ebuild,v 1.1 2007/06/26 18:42:29 ribosome Exp $
+
+MY_PN="autodocksuite"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="A suite of automated docking tools"
+HOMEPAGE="http://autodock.scripps.edu/"
+SRC_URI="mirror://gentoo/${MY_PN}/${MY_P}-src.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+S="${WORKDIR}/${MY_P}/src"
+
+src_compile() {
+ cd autodock/
+ econf || die "AutoDock econf failed."
+ emake || die "AutoDock emake failed."
+ cd ..
+
+ cd autogrid/
+ econf || die "AutoGrid econf failed."
+ emake || die "AutoGrid emake failed."
+ cd ..
+}
+
+src_install() {
+ cd "${S}/autodock"
+ dobin autodock4 || die "Failed to install autodock binary."
+ dodoc AUTHORS ChangeLog NEWS README || die \
+ "Failed to install documentation."
+ insinto "/usr/share/autodock"
+ doins AD4_parameters.dat AD4_PARM99.dat || die \
+ "Failed to install shared files."
+
+ cd "${S}/autogrid"
+ dobin autogrid4 || die "Failed to install autogrid binary."
+}
+
+src_test() {
+ cd "${S}/autodock/Tests"
+ python test_autodock4.py || die "AutoDock tests failed."
+ cd "${S}/autogrid/Tests"
+ python test_autogrid4.py || die "AutoGrid tests failed."
+}
+
+pkg_postinst() {
+ echo
+ einfo "The AutoDock development team requests all users to fill out the"
+ einfo "registration form at:"
+ einfo
+ einfo "\thttp://autodock.scripps.edu/downloads/autodock-registration"
+ einfo
+ einfo "The number of unique users of AutoDock is used by Prof. Arthur J."
+ einfo "Olson and the Scripps Research Institude to support grant"
+ einfo "applications."
+ echo
+}
diff --git a/sci-chemistry/autodock/files/digest-autodock-4.0.1-r1 b/sci-chemistry/autodock/files/digest-autodock-4.0.1-r1
new file mode 100644
index 000000000000..21c073671cb2
--- /dev/null
+++ b/sci-chemistry/autodock/files/digest-autodock-4.0.1-r1
@@ -0,0 +1,3 @@
+MD5 da0e9c67ab539964a734e4de6840506a autodocksuite-4.0.1-src.tar.gz 1898212
+RMD160 af2709277c1e9d36602c7100091b707937aa32d8 autodocksuite-4.0.1-src.tar.gz 1898212
+SHA256 8265e313c575dbb4e284dab90af2ed9b8f34dfdeb45508e652ca5fa9a09dc11b autodocksuite-4.0.1-src.tar.gz 1898212