sci-biology/cd-hit - 4.6.6 (gentoo)

Search

Install

Install this version:

emerge -a =sci-biology/cd-hit-4.6.6

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =sci-biology/cd-hit-4.6.6

Or alternatively:

emerge --autounmask-write -a =sci-biology/cd-hit-4.6.6

Package Information

Description:
Clustering Database at High Identity with Tolerance
Homepage:
http://weizhong-lab.ucsd.edu/cd-hit/
License:
GPL-2

Ebuild Details

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

EAPI=8

inherit toolchain-funcs

RELDATE="2016-0711"
RELEASE="${PN}-v${PV}-${RELDATE}"

DESCRIPTION="Clustering Database at High Identity with Tolerance"
HOMEPAGE="http://weizhong-lab.ucsd.edu/cd-hit/"
SRC_URI="https://github.com/weizhongli/cdhit/releases/download/V${PV}/${RELEASE}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}"/${RELEASE}

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

RDEPEND="dev-lang/perl"

PATCHES=(
	"${FILESDIR}"/${PN}-4.6.6-fix-perl-shebangs.patch
	"${FILESDIR}"/${PN}-4.6.6-fix-build-system.patch
)

pkg_pretend() {
	[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
}

pkg_setup() {
	[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
}

src_compile() {
	tc-export CXX
	emake openmp=$(usex openmp)
}

src_install() {
	dodir /usr/bin
	PREFIX="${EPREFIX}"/usr/bin default

	dodoc doc/*.pdf
}

USE Flags

Manage flags for this package: euse -i <flag> -p sci-biology/cd-hit | euse -E <flag> -p sci-biology/cd-hit | euse -D <flag> -p sci-biology/cd-hit

Global/Standard Flags

Inherited Eclasses

Dependencies

RDEPEND

dev-lang/perl

Manifest for 4.6.6

Type File Size Source URLs
DIST cd-hit-4.6.6.tar.gz 1152570 bytes https://github.com/weizhongli/cdhit/releases/download/V4.6.6/cd-hit-v4.6.6-2016-0711.tar.gz