From 45e8119858d048e0c022b6ff4eef2ca667e4ab83 Mon Sep 17 00:00:00 2001 From: Jonas Stein Date: Mon, 30 Jun 2014 23:16:36 +0200 Subject: add Clip4, the Cologne Laue Indexiation Program --- sci-physics/clip/clip-4.0.0_beta2.ebuild | 39 ++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 sci-physics/clip/clip-4.0.0_beta2.ebuild (limited to 'sci-physics/clip/clip-4.0.0_beta2.ebuild') diff --git a/sci-physics/clip/clip-4.0.0_beta2.ebuild b/sci-physics/clip/clip-4.0.0_beta2.ebuild new file mode 100644 index 000000000..b0ac76ec2 --- /dev/null +++ b/sci-physics/clip/clip-4.0.0_beta2.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=5 + +inherit qt4-r2 versionator + +MY_P="Clip4_$(get_version_component_range 4)_source" + +DESCRIPTION="Interactive program for evaluation of Laue diffraction patterns" +HOMEPAGE="http://clip4.sf.net/" +SRC_URI="mirror://sourceforge/clip4/${MY_P}.zip" +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +RDEPEND=" + dev-cpp/eigen:3 + dev-qt/qtcore + dev-qt/qtsvg + dev-qt/qtgui + dev-qt/qtwebkit + dev-qt/qtopengl +" +DEPEND="${RDEPEND}" + +S="${WORKDIR}/${MY_P}" + +src_prepare() +{ + sed -i -e 's|../eigen|/usr/include/eigen3|' \ + -e 's|shell hg|shell true|g' Clip4.pro || die "sed failed" +} + +src_install() +{ + dobin Clip + dodoc README.txt +} -- cgit v1.2.3-65-gdbad