blob: 524b3e6c325cffafe97eb8e7ce89daf75a956496 (
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
|
# 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=""
# The smoothing function sav_gol.c cannot be re-distributed but can be downloaded from TISEAN.
# http://www.mpipks-dresden.mpg.de/~tisean/
DEPEND="sci-mathematics/tisean"
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
}
|