blob: f1c62cddd6c7c84edd3a6d1cad81380bdcdb6056 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/tm-align/tm-align-20120707.ebuild,v 1.3 2013/02/05 18:30:14 ulm Exp $
EAPI=4
inherit cmake-utils flag-o-matic fortran-2
DESCRIPTION="Quick & Accurate Structural Alignment"
HOMEPAGE="http://zhanglab.ccmb.med.umich.edu/TM-align/"
SRC_URI="http://zhanglab.ccmb.med.umich.edu/TM-align/TMtools${PV}.tar.gz"
LICENSE="tm-align"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
IUSE="static custom-cflags"
S="${WORKDIR}"
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
}
|