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

EAPI=5

inherit eutils

DEB_PATCHLVL=10

DESCRIPTION="Maximum likelihood phylogenetic tree builder for DNA sequences"
HOMEPAGE="http://directory.fsf.org/project/fastDNAml/"
SRC_URI="
	mirror://debian/pool/main/f/fastdnaml/${PN}_${PV%%_p${DEB_PATCHLVL}}.orig.tar.gz
	mirror://debian/pool/main/f/fastdnaml/${PN}_${PV/_p/-}.debian.tar.gz"

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

S="${WORKDIR}"/fastDNAml_${PV%_p*}

src_prepare() {
	mv ../debian . || die
	EPATCH_OPTS="-p1" \
		epatch debian/patches/*patch
}

src_install() {
	dodir /usr/{bin,lib/fastdnaml/bin}
	default
	dodoc docs/*
	doman debian/fastDNAml.1
}