sci-chemistry/tm-align: EAPI-6 bump
authorAndreas Sturmlechner <asturm@gentoo.org>
Sun, 14 Oct 2018 19:39:43 +0000 (21:39 +0200)
committerAndreas Sturmlechner <asturm@gentoo.org>
Sun, 14 Oct 2018 19:39:43 +0000 (21:39 +0200)
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

sci-chemistry/tm-align/tm-align-20150914.ebuild

index 6732f611eaadfe3362c35711c8e5c756962f1155..f84b13e9e8f816c2bbf456a2b68f1b269f56c323 100644 (file)
@@ -1,7 +1,7 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
+EAPI=6
 
 inherit cmake-utils flag-o-matic fortran-2
 
@@ -12,14 +12,14 @@ SRC_URI="http://zhanglab.ccmb.med.umich.edu/TM-align/TMtools${PV}.tar.gz"
 LICENSE="tm-align"
 SLOT="0"
 KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="static custom-cflags"
+IUSE="custom-cflags static"
 
 S="${WORKDIR}"
 
 src_prepare() {
+       cp "${FILESDIR}"/CMakeLists.txt . || die
        cmake-utils_src_prepare
 
-       cp "${FILESDIR}"/CMakeLists.txt . || die
        use static && append-fflags -static && append-ldflags -static
        # recommended by upstream
        use custom-cflags || replace-flags -O* -O3 && append-fflags -ffast-math