diff options
author | David Seifert <soap@gentoo.org> | 2021-06-18 21:17:23 +0200 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2021-06-18 21:17:23 +0200 |
commit | c3f45d09f47f9f2438f0ba723920b31927c35dae (patch) | |
tree | e23eb4c3db8f6fc105ce441bf86ec2b13e7fc86c /sci-chemistry/autodock_vina/autodock_vina-1.1.2-r1.ebuild | |
parent | sci-biology/mira: Depend on dev-libs/boost:=[threads(+)] (diff) | |
download | gentoo-c3f45d09f47f9f2438f0ba723920b31927c35dae.tar.gz gentoo-c3f45d09f47f9f2438f0ba723920b31927c35dae.tar.bz2 gentoo-c3f45d09f47f9f2438f0ba723920b31927c35dae.zip |
sci-chemistry/autodock_vina: Depend on dev-libs/boost:=[threads(+)]
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'sci-chemistry/autodock_vina/autodock_vina-1.1.2-r1.ebuild')
-rw-r--r-- | sci-chemistry/autodock_vina/autodock_vina-1.1.2-r1.ebuild | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/sci-chemistry/autodock_vina/autodock_vina-1.1.2-r1.ebuild b/sci-chemistry/autodock_vina/autodock_vina-1.1.2-r1.ebuild new file mode 100644 index 000000000000..a1782463270a --- /dev/null +++ b/sci-chemistry/autodock_vina/autodock_vina-1.1.2-r1.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit flag-o-matic toolchain-funcs + +MY_P="${PN}_$(ver_rs 1- _)" + +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 x86" +IUSE="debug" + +RDEPEND="dev-libs/boost:=[threads(+)]" +DEPEND="${RDEPEND}" + +S="${WORKDIR}"/${MY_P}/build/linux/release + +PATCHES=( + "${FILESDIR}"/${PV}-gentoo.patch + "${FILESDIR}"/${P}-boost-filesystem.patch + "${FILESDIR}"/${P}-missing-debug-decl.patch +) + +src_prepare() { + cd "${WORKDIR}"/${MY_P} || die + default +} + +src_configure() { + append-cxxflags -DBOOST_FILESYSTEM_VERSION=3 -std=c++11 +} + +src_compile() { + emake \ + BASE="${EPREFIX}"/usr/ \ + GPP="$(tc-getCXX)" \ + C_OPTIONS=$(usex debug '' -DNDEBUG) +} + +src_install() { + dobin vina{,_split} +} |