You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/sci-chemistry/xdsgui/xdsgui-0_p130530.ebuild

43 lines
1.0 KiB

# 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}
}