diff options
author | Jakov Smolic <jakov.smolic@sartura.hr> | 2021-08-22 21:37:16 +0200 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2021-08-22 21:37:16 +0200 |
commit | d87cd1f599e0af88cc468f1d2ce330bbbae3a827 (patch) | |
tree | ac9c600cac61474acb006a8685bc2546d5c9bfa6 /sci-biology/velvet | |
parent | sci-libs/profphd-utils: Port to EAPI 8 (diff) | |
download | gentoo-d87cd1f599e0af88cc468f1d2ce330bbbae3a827.tar.gz gentoo-d87cd1f599e0af88cc468f1d2ce330bbbae3a827.tar.bz2 gentoo-d87cd1f599e0af88cc468f1d2ce330bbbae3a827.zip |
sci-biology/velvet: Port to EAPI 8
Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'sci-biology/velvet')
-rw-r--r-- | sci-biology/velvet/velvet-1.2.10.ebuild | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/sci-biology/velvet/velvet-1.2.10.ebuild b/sci-biology/velvet/velvet-1.2.10.ebuild index b4d8ae8641b2..ea0b3630b78b 100644 --- a/sci-biology/velvet/velvet-1.2.10.ebuild +++ b/sci-biology/velvet/velvet-1.2.10.ebuild @@ -1,28 +1,25 @@ # Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI=8 inherit flag-o-matic toolchain-funcs -MY_P=${PN}_${PV} - +MY_P="${PN}_${PV}" DESCRIPTION="A sequence assembler for very short reads" HOMEPAGE="https://www.ebi.ac.uk/~zerbino/velvet/" SRC_URI="https://www.ebi.ac.uk/~zerbino/velvet/${MY_P}.tgz" +S="${WORKDIR}"/${MY_P} LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="doc openmp" -RDEPEND="" -DEPEND="${RDEPEND} - doc? ( virtual/latex-base )" - -S="${WORKDIR}"/${MY_P} +BDEPEND="doc? ( virtual/latex-base )" src_prepare() { + default if ! use doc; then sed -i -e '/default :/ s/doc//' "${S}"/Makefile || die fi @@ -48,7 +45,7 @@ src_prepare() { tc-export CC MAKE_XOPTS=( - CC=$(tc-getCC) + CC="$(tc-getCC)" CFLAGS="${CFLAGS}" OPT="${CFLAGS}" ) |