1
0
mirror of synced 2024-07-03 09:39:03 +02:00
TheChymera-overlay/sci-biology/ants/ants-2.3.1.ebuild

32 lines
729 B
Bash
Raw Normal View History

# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit cmake-utils multilib
DESCRIPTION="Advanced Normalitazion Tools for neuroimaging"
HOMEPAGE="http://stnava.github.io/ANTs/"
SRC_URI="https://github.com/ANTsX/ANTs/archive/v${PV}.tar.gz -> ${P}.tar.gz"
SLOT="0"
LICENSE="BSD"
KEYWORDS="~amd64 ~x86"
DEPEND=">=dev-util/cmake-3.10.3"
RDEPEND=""
S="${WORKDIR}/ANTs-${PV}"
RESTRICT="network-sandbox"
src_install() {
cd "${WORKDIR}/${P}_build/ANTS-build" || die "build dir not found"
default
cd "${S}/Scripts" || die "scripts dir not found"
dobin *.sh
dodir /usr/$(get_libdir)/ants
install -t "${D}"usr/$(get_libdir)/ants *
doenvd "${FILESDIR}"/99ants
}