commit:     a8f9807e53ff1157b1a331646d9113e27d2603f0
Author:     Horea Christian <horea.christ <AT> yandex <DOT> com>
AuthorDate: Sat Jun 23 19:51:19 2018 +0000
Commit:     Horea Christian <horea.christ <AT> gmail <DOT> com>
CommitDate: Sat Jun 23 19:51:19 2018 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=a8f9807e

sci-biology/bru2nii: version bump

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 sci-biology/bru2nii/bru2nii-1.0.20180303.ebuild | 32 +++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/sci-biology/bru2nii/bru2nii-1.0.20180303.ebuild 
b/sci-biology/bru2nii/bru2nii-1.0.20180303.ebuild
new file mode 100644
index 000000000..19ff47564
--- /dev/null
+++ b/sci-biology/bru2nii/bru2nii-1.0.20180303.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="Converts Bruker ParaVision MRI data to the NIfTI file format"
+HOMEPAGE="https://github.com/neurolabusc/Bru2Nii";
+SRC_URI="https://github.com/neurolabusc/Bru2Nii/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="|| ( Artistic GPL-1+ )"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="gui"
+
+RDEPEND=""
+DEPEND="dev-lang/fpc
+       gui? ( dev-lang/lazarus )"
+
+S="${WORKDIR}/Bru2Nii-${PV}"
+
+src_compile() {
+       fpc -Tlinux Bru2.lpr || die
+       if use gui ; then
+               lazbuild -B --lazarusdir="/usr/share/lazarus/" Bru2Nii.lpr || 
die
+       fi
+}
+
+src_install() {
+       dobin Bru2
+       use gui && dobin Bru2Nii
+       dodoc README.md
+}

Reply via email to