blob: c23129f7425b391c9211be5f30f0a498da7af7b4 (
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
|
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
PERL_EXPORT_PHASE_FUNCTIONS=no
inherit perl-module eutils toolchain-funcs
DESCRIPTION="HMM-based cDNA to genome aligner"
HOMEPAGE="http://mblab.wustl.edu/software.html"
SRC_URI="http://mblab.wustl.edu/software/download/pairagon_.tar"
LICENSE="BSD-2"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""
DEPEND="dev-lang/perl"
RDEPEND="${DEPEND}"
S="${WORKDIR}"/pairagon
src_prepare(){
sed -e 's:src/get-glib-flags.sh:#src/get-glib-flags.sh:; s:-Wall -Werror::' -i Makefile
sed -e 's/^use Alignment/use pairagon::Alignment/' -i bin/alignmentConvert.pl || die
}
src_compile(){
emake pairagon-linux
}
src_install(){
dobin bin/pairagon bin/pairameter_estimate bin/Pairagon.pl bin/alignmentConvert.pl
dodoc README
perl_set_version
insinto /usr/share/pairagon
doins parameters/*
insinto ${VENDOR_LIB}/${PN}
doins lib/perl5/Alignment.pm
}
|