1
0
mirror of synced 2024-07-01 08:42:51 +02:00
TheChymera-overlay/sci-biology/ants/ants-2.3.1.ebuild
Horea Christian dd39fd0f8a
sci-biology/ants: unsandboxed fix fro bundling
Do not include in Gentoo Science, work on unbundled revbump

Package-Manager: Portage-2.3.66, Repoman-2.3.12
Signed-off-by: Horea Christian <chr@chymera.eu>
2019-05-18 23:56:59 +02:00

32 lines
729 B
Bash

# 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
}