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

EAPI="3"

REL="27Jan10"
MY_P="${PN}${PV}"

DESCRIPTION="Program for processing of non-uniformly sampled (NUS) multidimensional NMR spectra"
HOMEPAGE="http://www.nmr.gu.se/~mdd/"
SRC_URI="http://pc8.nmr.gu.se/~mdd/Downloads/arch/${MY_P}_${REL}.tgz"

SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
LICENSE="mddnmr"
IUSE=""

RDEPEND="sci-chemistry/nmrpipe"
DEPEND=""

S="${WORKDIR}"/${MY_P}

src_install() {
	exeinto /opt/${PN}/com
	doexe com/* || die

	exeinto /opt/${PN}/bin
	if use amd64; then
		doexe binLinux64/* || die
	elif use x86; then
		doexe binLinux32/* || die
	fi

	cat >> "${T}"/43mddnmr <<- EOF
	PATH="${EPREFIX}/opt/${PN}/com:${EPREFIX}/opt/${PN}/bin"
	MDD_NMR="/opt/${PN}"
	EOF

	doenvd "${T}"/43mddnmr

	dodoc Readme* || die
}