commit:     06da54748ac03cd9916e4a2cccd25a44e6f56f1a
Author:     Horea Christian <horea.christ <AT> yandex <DOT> com>
AuthorDate: Sat Mar 11 16:10:00 2017 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Sat Mar 11 16:10:00 2017 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=06da5474

sci-visualization/surf-ice: added stable version (#737)

* sci-visualization/surf-ice: added stable version

Package-Manager: Portage-2.3.3, Repoman-2.3.1

* sci-visualization/surf-ice: removed CVS tag

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 .../surf-ice/surf-ice-1.0.20170202.ebuild          | 44 ++++++++++++++++++++++
 1 file changed, 44 insertions(+)

diff --git a/sci-visualization/surf-ice/surf-ice-1.0.20170202.ebuild 
b/sci-visualization/surf-ice/surf-ice-1.0.20170202.ebuild
new file mode 100644
index 000000000..75be4debe
--- /dev/null
+++ b/sci-visualization/surf-ice/surf-ice-1.0.20170202.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit gnome2-utils
+
+DESCRIPTION="A simple medical imaging visualization tool"
+HOMEPAGE="https://github.com/neurolabusc/surf-ice";
+SRC_URI="https://github.com/neurolabusc/surf-ice/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND=""
+DEPEND="dev-lang/fpc
+       >=dev-lang/lazarus-1.6.2"
+
+#S="${WORKDIR}/surf-ice-${PV}"
+
+src_compile() {
+       lazbuild -B --lazarusdir="/usr/share/lazarus/" surfice.lpi || die
+}
+
+src_install() {
+       dobin surfice
+
+       insinto /usr/bin/shaders
+       doins shaders/*.txt
+
+       insinto /usr/bin/shadersOld
+       doins shadersOld/*.txt
+
+       doicon -s scalable Surfice.jpg
+       make_desktop_entry surf-ice surf-ice 
/usr/share/icons/hicolor/scalable/apps/Surfice.jpg
+}
+
+pkg_postinst() {
+       gnome2_icon_cache_update
+}
+pkg_postrm() {
+       gnome2_icon_cache_update
+}

Reply via email to