blob: 596dac8bf867f20b1a9a7f8f0ccfd202d41c8513 (
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
38
39
|
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
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
}
|