blob: 132c242db6c52de5dc34bd941ad3d9cab29d1027 (
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
|
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=3
inherit eutils
DESCRIPTION="Automatic correct of discrepancies in multiple sequence alignments"
HOMEPAGE="http://sourceforge.net/apps/mediawiki/amos/index.php?title=AutoEditor"
SRC_URI="
ftp://ftp.cbcb.umd.edu/pub/software/autoEditor/autoEditor-1.20.tar.gz
test? ( ftp://ftp.cbcb.umd.edu/pub/software/autoEditor/autoEditor-1.20-sample.tar.gz )"
LICENSE="Artistic"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND="
>=sci-libs/io_lib-1.8.11
sci-biology/tigr-foundation-libs
sys-libs/zlib"
RDEPEND="${DEPEND}"
S="${WORKDIR}"/autoEditor-1.20
src_prepare(){
epatch "${FILESDIR}"/Makefile.patch || die
rm -rf TigrFoundation-2.0 || die "Failed to drop TigrFoundation-2.0/"
}
# TODO:
# * QA Notice: Package has poor programming practices which may compile
# * fine but exhibit random runtime failures.
# * getConsQV.c:1051: warning: implicit declaration of function 'memset'
src_test(){
make sample > sample.out || die
diff -u -w "${FILESDIR}"/sample_expected.out sample.out || die
}
|