sci-biology/probcons - 1.12 (gentoo)

Search

Install

Install this version:

emerge -a =sci-biology/probcons-1.12

Package Information

Description:
Probabilistic Consistency-based Multiple Alignment of Amino Acid Sequences
Homepage:
http://probcons.stanford.edu/
License:
public-domain

Ebuild Details

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

EAPI=7

inherit toolchain-funcs

MY_P="${PN}_v${PV/./_}"

DESCRIPTION="Probabilistic Consistency-based Multiple Alignment of Amino Acid Sequences"
HOMEPAGE="http://probcons.stanford.edu/"
SRC_URI="http://probcons.stanford.edu/${MY_P}.tar.gz"
S="${WORKDIR}/${PN}"

LICENSE="public-domain"
SLOT="0"
KEYWORDS="amd64 ~x86"

# Gnuplot is explicitly runtime-only, it's run using system()
RDEPEND="
	!sci-geosciences/gmt
	sci-visualization/gnuplot"

PATCHES=(
	"${FILESDIR}"/${P}-cxxflags.patch
	"${FILESDIR}"/gcc-4.3.patch
	"${FILESDIR}"/${P}-gcc-4.6.patch
)

src_compile() {
	emake \
		CXX="$(tc-getCXX)" \
		OPT_CXXFLAGS="${CXXFLAGS}"
}

src_install() {
	dobin probcons project makegnuplot
	# Overlap with imagemagick
	newbin compare compare-probcons
	dodoc README
}

pkg_postinst() {
	ewarn "The 'compare' binary is installed as 'compare-probcons'"
	ewarn "to avoid overlap with other packages."
	einfo "You may also want to download the user manual"
	einfo "from http://probcons.stanford.edu/manual.pdf"
}

Inherited Eclasses

Dependencies

RDEPEND

	!sci-geosciences/gmt
	sci-visualization/gnuplot

Manifest for 1.12

Type File Size Source URLs
DIST probcons_v1_12.tar.gz 43200 bytes http://probcons.stanford.edu/probcons_v1_12.tar.gz