blob: 65963d55a51f6c64e0922b823252e94cc80f6137 (
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit check-reqs
DESCRIPTION="A collection of mouse brain atlases in NIfTI format"
HOMEPAGE="https://github.com/IBT-FMI/mouse-brain-atlases"
SRC_URI="
http://chymera.eu/distfiles/${P}.tar.xz
hires? ( http://chymera.eu/distfiles/${PN}HD-${PV}.tar.xz )
"
LICENSE="fairuse"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="hires"
RDEPEND=""
DEPEND=""
pkg_pretend() {
if use hires; then
CHECKREQS_DISK_BUILD="4G"
CHECKREQS_DISK_USR="4G"
CHECKREQS_DISK_VAR="8G"
else
CHECKREQS_DISK_BUILD="500M"
fi
check-reqs_pkg_pretend
}
# We disable this phase to not check requirements twice.
pkg_setup() { :; }
src_install() {
insinto "/usr/share/${PN}"
doins *
if use hires; then
cd "../${PN}HD-${PV}"
doins *
fi
}
|