Gentoo Archives: gentoo-commits

From: Horea Christian <horea.christ@×××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: sci-biology/bru2nii/
Date: Sat, 23 Jun 2018 19:51:56
Message-Id: 1529783479.a8f9807e53ff1157b1a331646d9113e27d2603f0.chymera@gentoo
1 commit: a8f9807e53ff1157b1a331646d9113e27d2603f0
2 Author: Horea Christian <horea.christ <AT> yandex <DOT> com>
3 AuthorDate: Sat Jun 23 19:51:19 2018 +0000
4 Commit: Horea Christian <horea.christ <AT> gmail <DOT> com>
5 CommitDate: Sat Jun 23 19:51:19 2018 +0000
6 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=a8f9807e
7
8 sci-biology/bru2nii: version bump
9
10 Package-Manager: Portage-2.3.40, Repoman-2.3.9
11
12 sci-biology/bru2nii/bru2nii-1.0.20180303.ebuild | 32 +++++++++++++++++++++++++
13 1 file changed, 32 insertions(+)
14
15 diff --git a/sci-biology/bru2nii/bru2nii-1.0.20180303.ebuild b/sci-biology/bru2nii/bru2nii-1.0.20180303.ebuild
16 new file mode 100644
17 index 000000000..19ff47564
18 --- /dev/null
19 +++ b/sci-biology/bru2nii/bru2nii-1.0.20180303.ebuild
20 @@ -0,0 +1,32 @@
21 +# Copyright 1999-2018 Gentoo Foundation
22 +# Distributed under the terms of the GNU General Public License v2
23 +
24 +EAPI=6
25 +
26 +DESCRIPTION="Converts Bruker ParaVision MRI data to the NIfTI file format"
27 +HOMEPAGE="https://github.com/neurolabusc/Bru2Nii"
28 +SRC_URI="https://github.com/neurolabusc/Bru2Nii/archive/v${PV}.tar.gz -> ${P}.tar.gz"
29 +
30 +LICENSE="|| ( Artistic GPL-1+ )"
31 +SLOT="0"
32 +KEYWORDS="~amd64"
33 +IUSE="gui"
34 +
35 +RDEPEND=""
36 +DEPEND="dev-lang/fpc
37 + gui? ( dev-lang/lazarus )"
38 +
39 +S="${WORKDIR}/Bru2Nii-${PV}"
40 +
41 +src_compile() {
42 + fpc -Tlinux Bru2.lpr || die
43 + if use gui ; then
44 + lazbuild -B --lazarusdir="/usr/share/lazarus/" Bru2Nii.lpr || die
45 + fi
46 +}
47 +
48 +src_install() {
49 + dobin Bru2
50 + use gui && dobin Bru2Nii
51 + dodoc README.md
52 +}