You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/sci-biology/poa/poa-2-r1.ebuild

45 lines
857 B

# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit toolchain-funcs
MY_P="${PN}V${PV}"
DESCRIPTION="Fast multiple sequence alignments using partial-order graphs"
HOMEPAGE="http://bioinfo.mbi.ucla.edu/poa/"
SRC_URI="mirror://sourceforge/poamsa/${MY_P}.tar.gz"
# According to SF project page
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
S="${WORKDIR}/${MY_P}"
PATCHES=(
"${FILESDIR}"/${P}-respect-flags.patch
"${FILESDIR}"/${P}-fno-common.patch
)
src_configure() {
tc-export AR CC RANLIB
}
src_compile() {
emake poa
}
src_install() {
dobin poa make_pscores.pl
dodoc README multidom.*
insinto /usr/share/poa
doins *.mat
}
pkg_postinst() {
elog "poa requires a score matrix as the first argument."
elog "This package installs two examples to ${EROOT}/usr/share/poa/."
}