aboutsummaryrefslogtreecommitdiff
blob: d402a3844cc8e6a1d77a0b28d4a1c575256fd610 (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
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

MY_PN="${PN/-bin}"

DESCRIPTION="prints various statistics (that are not available from XDS itself)"
HOMEPAGE="http://strucbio.biologie.uni-konstanz.de/xdswiki/index.php/XDSSTAT"
SRC_URI="ftp://turn5.biologie.uni-konstanz.de/pub/${MY_PN}.bz2"

LICENSE="as-is"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

RDEPEND="sci-chemistry/xds-bin
	amd64? ( app-emulation/emul-linux-x86-baselibs )"
DEPEND=""

src_install() {
	exeinto /opt/${MY_PN}
	doexe ${MY_PN} || die

	cat >> "${T}"/40${MY_PN} <<- EOF
	PATH="/opt/${MY_PN}/"
	EOF

	doenvd "${T}"/40${MY_PN} || die
}