diff options
author | 2010-06-03 10:16:26 -0500 | |
---|---|---|
committer | 2010-06-03 10:16:26 -0500 | |
commit | ced009ef78c499c8e2430772b05161bcad38ab21 (patch) | |
tree | fc950a281cfe7ed558bd85a194bfdcbb5f1ca8b0 /sci-chemistry | |
parent | Add ipheth-pair for iphone USB tethering, modified from bug #306495. (diff) | |
download | dberkholz-ced009ef78c499c8e2430772b05161bcad38ab21.tar.gz dberkholz-ced009ef78c499c8e2430772b05161bcad38ab21.tar.bz2 dberkholz-ced009ef78c499c8e2430772b05161bcad38ab21.zip |
autodock-vina: New ebuild for a docking program.
Diffstat (limited to 'sci-chemistry')
-rw-r--r-- | sci-chemistry/autodock-vina/Manifest | 2 | ||||
-rw-r--r-- | sci-chemistry/autodock-vina/autodock-vina-1.1.1.ebuild | 42 |
2 files changed, 44 insertions, 0 deletions
diff --git a/sci-chemistry/autodock-vina/Manifest b/sci-chemistry/autodock-vina/Manifest new file mode 100644 index 0000000..3a20475 --- /dev/null +++ b/sci-chemistry/autodock-vina/Manifest @@ -0,0 +1,2 @@ +DIST autodock_vina_1_1_1.tgz 66972 RMD160 3e65dd8e38f9f726c9200057fc37e0fcafe7d460 SHA1 620b2f5713b7ad2f13cc90ddb837dfd9fd2b4875 SHA256 f9aaf6b2a322775e1be30f22fb69573418610300c0ab2b9345fd6accc1c1b9fd +EBUILD autodock-vina-1.1.1.ebuild 922 RMD160 ea96ea8a6048d165d2f0bb5f4b6726344a2cd279 SHA1 95e01544f3b8134c26b2d5177f4c91c6518d8406 SHA256 1ac483150973914661ab03e0085f2f774c9c6d386434c51911da506e2221aded diff --git a/sci-chemistry/autodock-vina/autodock-vina-1.1.1.ebuild b/sci-chemistry/autodock-vina/autodock-vina-1.1.1.ebuild new file mode 100644 index 0000000..7c65eae --- /dev/null +++ b/sci-chemistry/autodock-vina/autodock-vina-1.1.1.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit toolchain-funcs + +MY_P=${P//-/_} +MY_P=${MY_P//./_} + +DESCRIPTION="Program for drug discovery, molecular docking and virtual screening" +HOMEPAGE="http://vina.scripps.edu/" +SRC_URI="http://vina.scripps.edu/download/${MY_P}.tgz" +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" +RDEPEND="dev-libs/boost" +DEPEND="${RDEPEND}" +S=${WORKDIR}/${MY_P}/build/linux/release + +src_compile() { + # "boost-1_42" + BOOST_VERSION=$(basename $(dirname $(readlink -f /usr/include/boost))) + # "1_42" + BOOST_VERSION=${BOOST_VERSION#*-} + # "1.42" + BOOST_VERSION=${BOOST_VERSION/_/.} + + emake \ + BASE="/usr" \ + BOOST_VERSION="${BOOST_VERSION}" \ + GPP=$(tc-getCXX) \ + C_OPTIONS="${CXXFLAGS}" \ + LDFLAGS="-L\$(BASE)/lib -L. ${LDFLAGS}" \ + || die +} + +src_install() { + dobin vina || die + dobin vina_split || die +} + |