blob: 1eda9caacfd7a05937373dfcd61361ff5744b80d (
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-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
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="test"
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
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(){
emake sample > sample.out
diff -u -w "${FILESDIR}"/sample_expected.out sample.out || die
}
|