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/mcl/mcl-14.137.ebuild

36 lines
651 B

# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit autotools
MY_P="${PN}-${PV/./-}"
DESCRIPTION="A Markov Cluster Algorithm implementation"
HOMEPAGE="http://micans.org/mcl/"
SRC_URI="http://micans.org/mcl/src/${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="+blast"
PATCHES=("${FILESDIR}/${P}-qa-implicit-declarations.patch")
S="${WORKDIR}/${MY_P}"
src_prepare() {
find \
-name Makefile.am \
-exec sed \
-e '/docdir/d' \
-e '/exampledir/s:doc::g' \
-i '{}' + || die
default
eautoreconf
}
src_configure() {
econf $(use_enable blast)
}