Updated to use ITK
This commit is contained in:
parent
334a03fd20
commit
56f20b0fde
@ -1 +1,2 @@
|
||||
DIST ants-2.3.1.tar.gz 2437950 SHA256 c0680feab0ebb85c8cd6685043126666929b35e1cf387a5cc1d3a2d7169bddd3 SHA512 c22af10b7aed1dc5c6b06d6b7d3b2c33ced382926ab5972dd55e4766ff0269330bf01e6975712d991e96c5d9d23f78c8081a3ff475ea92d539c695105b5cfe9a WHIRLPOOL 54c0f411bbd305530c9a8fcdfc66e42f76991c209330375e11d65522ad7a2d58066fc349aae68d003aaab413b59bdabf2f9f5cdfd5626269caa9968909785964
|
||||
DIST rest?method=midas.bitstream.download&checksum=84cf0e06646142e0aa4c3d3324a62701 46161 SHA256 6c40c155a97d383438bc8a66eeb96df51517502bab0b1e8670711c141e71f689 SHA512 20942c444831f9dd71d41809acf0eac6fb351bda9a6e2d6826a645121b09d781a7feacdcd5edf4b7e9708f9e5de380bdfdfcb9f7c4b25fa1a03d506d817c3e1d WHIRLPOOL 5c772213fe6ad3c7a032a61024188a1eaeed93137967e2996cd3ceaf39538e9a522b5e8cdf8826816ba2727191bed510b7616056ab32e95d13bcdef0ef12ced9
|
||||
|
@ -1,26 +1,51 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Copyright 1999-2019 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
EAPI=7
|
||||
|
||||
inherit cmake-utils git-r3 multilib
|
||||
|
||||
MY_HASH="84cf0e06646142e0aa4c3d3324a62701"
|
||||
|
||||
DESCRIPTION="Advanced Normalitazion Tools for neuroimaging"
|
||||
HOMEPAGE="http://stnava.github.io/ANTs/"
|
||||
SRC_URI=""
|
||||
SRC_URI="http://slicer.kitware.com/midas3/api/rest?method=midas.bitstream.download&checksum=${MY_HASH} > ${MY_HASH}"
|
||||
EGIT_REPO_URI="https://github.com/stnava/ANTs.git"
|
||||
EGIT_COMMIT="1d2e5bf497cd71667d6f7d79ff858387c08bb93e"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="BSD"
|
||||
KEYWORDS=""
|
||||
IUSE="test"
|
||||
|
||||
DEPEND=">=dev-util/cmake-3.10.3"
|
||||
RDEPEND=""
|
||||
RDEPEND="
|
||||
sci-libs/vtk
|
||||
>=sci-libs/itk-5.0_rc1
|
||||
"
|
||||
|
||||
#S="${WORKDIR}/ANTs-${PV}"
|
||||
|
||||
src_prepare() {
|
||||
pwd
|
||||
ln -s
|
||||
die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DITK_DIR="/usr/include/ITK-5.0/"
|
||||
-DUSE_SYSTEM_ITK=ON
|
||||
-DUSE_SYSTEM_VTK=ON
|
||||
-DBUILD_TESTING="$(usex test ON OFF)"
|
||||
)
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cd "${WORKDIR}/${P}_build/ANTS-build" || die "build dir not found"
|
||||
default
|
||||
cd "${WORKDIR}/ANTs-${PV}/Scripts" || die "scripts dir not found"
|
||||
cd "${WORKDIR}/${P}/Scripts" || die "scripts dir not found"
|
||||
dobin *.sh
|
||||
dodir /usr/$(get_libdir)/ants
|
||||
install -t "${D}"usr/$(get_libdir)/ants *
|
||||
|
Loading…
x
Reference in New Issue
Block a user