summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-02-27 22:52:01 +0000
committerSam James <sam@gentoo.org>2022-02-27 22:52:01 +0000
commit1489c366aee882be497075a8e99c4218f34d6c15 (patch)
treecd69713353f0e493e375d1f5e1bf9d043122f8f0
parentprofiles: last-rite sci-chemistry/mm-align (diff)
downloadgentoo-1489c366aee882be497075a8e99c4218f34d6c15.tar.gz
gentoo-1489c366aee882be497075a8e99c4218f34d6c15.tar.bz2
gentoo-1489c366aee882be497075a8e99c4218f34d6c15.zip
sci-chemistry/tm-align: update EAPI 6 -> 8
Bug: https://bugs.gentoo.org/834302 Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r--sci-chemistry/tm-align/tm-align-20150914-r1.ebuild24
1 files changed, 24 insertions, 0 deletions
diff --git a/sci-chemistry/tm-align/tm-align-20150914-r1.ebuild b/sci-chemistry/tm-align/tm-align-20150914-r1.ebuild
new file mode 100644
index 000000000000..23c016c77a05
--- /dev/null
+++ b/sci-chemistry/tm-align/tm-align-20150914-r1.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake flag-o-matic fortran-2
+
+DESCRIPTION="Quick & Accurate Structural Alignment"
+HOMEPAGE="https://zhanggroup.org/TM-align/"
+SRC_URI="http://zhanglab.ccmb.med.umich.edu/TM-align/TMtools${PV}.tar.gz"
+S="${WORKDIR}"
+
+LICENSE="tm-align"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="custom-cflags"
+
+src_prepare() {
+ cp "${FILESDIR}"/CMakeLists.txt . || die
+ cmake_src_prepare
+
+ # Recommended by upstream
+ use custom-cflags || replace-flags -O* -O3 && append-fflags -ffast-math
+}