sci-biology/grappa - 2.0 (science)

Search

Package Information

Description:
Genome Rearrangements Analysis under Parsimony and other Phylogenetic Algorithms
Homepage:
https://www.cs.unm.edu/~moret/GRAPPA/
License:
GPL-2

Ebuild Details

Version EAPI Keywords Slot
2.0 7 ~amd64 ~x86 0
View Raw Ebuild
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

inherit flag-o-matic

MY_P="GRAPPA20"

DESCRIPTION="Genome Rearrangements Analysis under Parsimony and other Phylogenetic Algorithms"
HOMEPAGE="https://www.cs.unm.edu/~moret/GRAPPA/"
SRC_URI="https://www.cs.unm.edu/~moret/GRAPPA/${MY_P}.tar.gz"

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

S="${WORKDIR}/${MY_P}"

PATCHES=( "${FILESDIR}"/${P}-inline.patch )

src_prepare() {
	default
	sed -i -e '/CFLAGS := -mcpu/ d' -e 's/\(CFLAGS := -D${OS}\)/\1 ${CFLAGS}/' "${S}/Makefile" || die
}

src_configure() {
	append-cflags -fcommon
	default
}

src_install() {
	dobin grappa
	dosym grappa /usr/bin/invdist
	# avoid file collision with emboss and rename distmat to distmat_grappa
	dosym grappa /usr/bin/distmat_grappa
	dodoc README
}

Manifest for 2.0

Type File Size Source URLs
DIST GRAPPA20.tar.gz 172261 bytes https://www.cs.unm.edu/~moret/GRAPPA/GRAPPA20.tar.gz