sci-biology/cdbfasta - 0.1 (science)

Search

Package Information

Description:
FASTA record indexing/retrievieng utility
Homepage:
https://github.com/gpertea/cdbfasta
License:
Artistic

Ebuild Details

Version EAPI Keywords Slot
0.1 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

DESCRIPTION="FASTA record indexing/retrievieng utility"
HOMEPAGE="https://github.com/gpertea/cdbfasta"
SRC_URI="ftp://occams.dfci.harvard.edu/pub/bio/tgi/software/cdbfasta/cdbfasta.tar.gz -> ${P}.tar.gz"

LICENSE="Artistic"
SLOT="0"
KEYWORDS="~amd64 ~x86"

S=${WORKDIR}/${PN}

src_prepare() {
	default
	sed \
		-e 's/CFLAGS[ ]*=/CFLAGS :=/; s/-D_REENTRANT/-D_REENTRANT \${CFLAGS}/; s/CFLAGS[ ]*:=[ ]*-O2$//' \
		-i "${S}"/Makefile || die "Failed to patch Makefile"
	sed -i 's/-march=i686//' "${S}"/Makefile || die
	sed -i 's/-O2 //' "${S}"/Makefile || die
}

src_install() {
	dobin {cdbfasta,cdbyank}
	newdoc README README.${PN}
}

Manifest for 0.1

Type File Size Source URLs
DIST cdbfasta-0.1.tar.gz 59735 bytes ftp://occams.dfci.harvard.edu/pub/bio/tgi/software/cdbfasta/cdbfasta.tar.gz