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

inherit base toolchain-funcs

DESCRIPTION="With this form you can predict 1H, 13C and 15N chemical shifts for your favorite protein"
HOMEPAGE="http://redpoll.pharmacy.ualberta.ca/shiftx/"
SRC_URI="http://redpoll.pharmacy.ualberta.ca/download/${PN}/${PN}.tar.gz"

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

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

PATCHES=(
	"${FILESDIR}"/${PV}-Makefile.patch
)

DOCS="README FEATURES *.pdb *.out"

src_compile() {
	emake \
		CC="$(tc-getCC)" || \
		die "compilation failed"
}

src_install() {
	dobin ${PN} || die "installationof ${PN} failed"
	dodoc ${DOCS} || die
}