blob: 21a7145dab780d2eb4f1f86e85748ce636e65680 (
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
|
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit git-r3 gnome2-utils
DESCRIPTION="A simple medical imaging visualization tool"
HOMEPAGE="https://github.com/neurolabusc/MRIcron"
SRC_URI=""
EGIT_REPO_URI="https://github.com/neurolabusc/MRIcron.git"
LICENSE="BSD"
SLOT="0"
RDEPEND=""
DEPEND="dev-lang/fpc
dev-lang/lazarus"
src_compile() {
lazbuild -B --lazarusdir="/usr/share/lazarus/" mricron.lpr || die
}
src_install() {
dobin mricron
dobin dcm2nii/dcm2nii
dobin dcm2nii/dcm2niigui
doicon icons/mricron.png
make_desktop_entry mricron MRIcron mricron
}
pkg_postinst() {
gnome2_icon_cache_update
}
pkg_postrm() {
gnome2_icon_cache_update
}
|