gentoo/sci-biology/biogrep/biogrep-1.0-r3.ebuild
David Seifert b7e4b1db6e
sci-biology/biogrep: fix c23 pointer declarations
Closes: https://bugs.gentoo.org/944932
Signed-off-by: David Seifert <soap@gentoo.org>
2025-12-01 11:26:26 +01:00

38 lines
873 B
Bash

# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit autotools
DESCRIPTION="Multithreaded tool for matching large sets of patterns against biosequence DBs"
HOMEPAGE="http://stephanopoulos.openwetware.org/BIOGREP.html"
SRC_URI="
http://www.openwetware.org/images/3/3d/${P^}.tar.gz -> ${P}.tar.gz
doc? ( http://www.openwetware.org/images/4/49/${PN^}.pdf -> ${P}.pdf )"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc examples"
PATCHES=( "${FILESDIR}"/${P}-c23.patch )
src_prepare() {
default
eautoreconf
}
src_install() {
default
use doc && dodoc "${DISTDIR}"/${P}.pdf
if use examples; then
# remove cruft before installing examples
find examples/ \( -name 'CVS' -o -name '*~' \) -exec rm -rf '{}' + || die
dodoc -r examples
docompress -x /usr/share/doc/${PF}/examples
fi
}