aboutsummaryrefslogtreecommitdiff
blob: e39652caa61475ebff57572649a1c1a9bc890ce7 (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-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI=5

inherit toolchain-funcs

DESCRIPTION="Intrinsic Protein Disorder Prediction"
HOMEPAGE="http://dis.embl.de"
SRC_URI="http://dis.embl.de/${P}.tgz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""

DEPEND=""
RDEPEND="${DEPEND}
	sci-biology/biopython"

src_prepare(){
	sed -e 's@/usr/local/bin/@ /usr/bin/env @' -i DisEMBL.py || die
}

src_compile(){
	$(tc-getCC) ${CFLAGS} ${LDFLAGS} disembl.c -o disembl
}

src_install(){
	dobin DisEMBL.py disembl
	dodoc INSTALL CHANGELOG
}