blob: 33fb7101260a9ef507d4e67ff1d2965741046ce3 (
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
40
41
42
|
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/xdsgui/xdsgui-0_p130530.ebuild,v 1.2 2013/05/30 09:46:27 jlec Exp $
EAPI=5
DESCRIPTION="GUI for XDS that is supposed to help both novice and experienced users"
HOMEPAGE="http://strucbio.biologie.uni-konstanz.de/xdswiki/index.php/XdsGUI"
SRC_URI="
amd64? ( ftp://turn5.biologie.uni-konstanz.de/pub/xdsGUI.rhel6.64 -> ${P}.64 )
x86? ( ftp://turn5.biologie.uni-konstanz.de/pub/xdsGUI.rhel6.32 -> ${P}.32 )"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="-* ~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE=""
RDEPEND="
dev-qt/qtcore:4
dev-qt/qtgui:4
dev-util/xxdiff
sci-chemistry/xds-bin
sci-chemistry/xdsstat-bin
sci-visualization/xds-viewer"
DEPEND=""
S="${WORKDIR}"
QA_PREBUILT="opt/bin/*"
src_unpack() {
if use amd64; then
cp -rf "${DISTDIR}"/${P}.64 ${PN} || die
elif use x86; then
cp -rf "${DISTDIR}"/${P}.32 ${PN} || die
fi
}
src_install() {
exeinto /opt/bin
doexe ${PN}
}
|