commit: a5b2a38c915c223d7c2712301c6802b3e6c3389f Author: Martin Mokrejš <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz> AuthorDate: Fri Dec 9 16:23:50 2016 +0000 Commit: Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz> CommitDate: Fri Dec 9 16:23:50 2016 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=a5b2a38c
sci-biology/jellyfish: version bump; respect sse CPU USE flag Package-Manager: portage-2.3.3 sci-biology/jellyfish/jellyfish-1.1.11.ebuild | 14 +++++++++++++- sci-biology/jellyfish/jellyfish-2.1.3.ebuild | 14 +++++++++++++- sci-biology/jellyfish/jellyfish-2.1.4.ebuild | 14 +++++++++++++- .../{jellyfish-2.1.3.ebuild => jellyfish-2.2.0.ebuild} | 14 +++++++++++++- 4 files changed, 52 insertions(+), 4 deletions(-) diff --git a/sci-biology/jellyfish/jellyfish-1.1.11.ebuild b/sci-biology/jellyfish/jellyfish-1.1.11.ebuild index acb7729..9475622 100644 --- a/sci-biology/jellyfish/jellyfish-1.1.11.ebuild +++ b/sci-biology/jellyfish/jellyfish-1.1.11.ebuild @@ -4,6 +4,8 @@ EAPI=6 +inherit eutils flag-o-matic + DESCRIPTION="k-mer counter within reads for assemblies" HOMEPAGE="http://www.cbcb.umd.edu/software/jellyfish" SRC_URI="http://www.cbcb.umd.edu/software/jellyfish/jellyfish-1.1.11.tar.gz @@ -16,12 +18,22 @@ SRC_URI="http://www.cbcb.umd.edu/software/jellyfish/jellyfish-1.1.11.tar.gz LICENSE="GPL-3+ BSD" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="" +IUSE="cpu_flags_x86_sse" DEPEND="" DEPEND="${RDEPEND} virtual/pkgconfig" +src_prepare(){ + # --with-sse enable SSE + # --with-half enable half float (16 bits) + # --with-int128 enable int128 + local myconf + use cpu_flags_x86_sse && myconf+=( --with-sse ) + econf econf ${myconf[@]} + eapply_user +} + src_install(){ default sed -e "s#jellyfish-${PV}#jellyfish#" -i "${ED}/usr/$(get_libdir)"/pkgconfig/jellyfish-1.1.pc || die diff --git a/sci-biology/jellyfish/jellyfish-2.1.3.ebuild b/sci-biology/jellyfish/jellyfish-2.1.3.ebuild index d38d7bb..7501aef 100644 --- a/sci-biology/jellyfish/jellyfish-2.1.3.ebuild +++ b/sci-biology/jellyfish/jellyfish-2.1.3.ebuild @@ -4,6 +4,8 @@ EAPI=6 +inherit eutils flag-o-matic + DESCRIPTION="k-mer counter within reads for assemblies" HOMEPAGE="http://www.genome.umd.edu/jellyfish.html" SRC_URI="ftp://ftp.genome.umd.edu/pub/${PN}/${P}.tar.gz @@ -14,12 +16,22 @@ SRC_URI="ftp://ftp.genome.umd.edu/pub/${PN}/${P}.tar.gz LICENSE="GPL-3+ BSD" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="" +IUSE="cpu_flags_x86_sse" DEPEND="" DEPEND="${RDEPEND} virtual/pkgconfig" +src_prepare(){ + # --with-sse enable SSE + # --with-half enable half float (16 bits) + # --with-int128 enable int128 + local myconf + use cpu_flags_x86_sse && myconf+=( --with-sse ) + econf econf ${myconf[@]} + eapply_user +} + src_install(){ default sed -e "s#jellyfish-${PV}#jellyfish#" -i "${ED}/usr/$(get_libdir)"/pkgconfig/jellyfish-2.0.pc || die diff --git a/sci-biology/jellyfish/jellyfish-2.1.4.ebuild b/sci-biology/jellyfish/jellyfish-2.1.4.ebuild index d38d7bb..7501aef 100644 --- a/sci-biology/jellyfish/jellyfish-2.1.4.ebuild +++ b/sci-biology/jellyfish/jellyfish-2.1.4.ebuild @@ -4,6 +4,8 @@ EAPI=6 +inherit eutils flag-o-matic + DESCRIPTION="k-mer counter within reads for assemblies" HOMEPAGE="http://www.genome.umd.edu/jellyfish.html" SRC_URI="ftp://ftp.genome.umd.edu/pub/${PN}/${P}.tar.gz @@ -14,12 +16,22 @@ SRC_URI="ftp://ftp.genome.umd.edu/pub/${PN}/${P}.tar.gz LICENSE="GPL-3+ BSD" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="" +IUSE="cpu_flags_x86_sse" DEPEND="" DEPEND="${RDEPEND} virtual/pkgconfig" +src_prepare(){ + # --with-sse enable SSE + # --with-half enable half float (16 bits) + # --with-int128 enable int128 + local myconf + use cpu_flags_x86_sse && myconf+=( --with-sse ) + econf econf ${myconf[@]} + eapply_user +} + src_install(){ default sed -e "s#jellyfish-${PV}#jellyfish#" -i "${ED}/usr/$(get_libdir)"/pkgconfig/jellyfish-2.0.pc || die diff --git a/sci-biology/jellyfish/jellyfish-2.1.3.ebuild b/sci-biology/jellyfish/jellyfish-2.2.0.ebuild similarity index 72% copy from sci-biology/jellyfish/jellyfish-2.1.3.ebuild copy to sci-biology/jellyfish/jellyfish-2.2.0.ebuild index d38d7bb..7501aef 100644 --- a/sci-biology/jellyfish/jellyfish-2.1.3.ebuild +++ b/sci-biology/jellyfish/jellyfish-2.2.0.ebuild @@ -4,6 +4,8 @@ EAPI=6 +inherit eutils flag-o-matic + DESCRIPTION="k-mer counter within reads for assemblies" HOMEPAGE="http://www.genome.umd.edu/jellyfish.html" SRC_URI="ftp://ftp.genome.umd.edu/pub/${PN}/${P}.tar.gz @@ -14,12 +16,22 @@ SRC_URI="ftp://ftp.genome.umd.edu/pub/${PN}/${P}.tar.gz LICENSE="GPL-3+ BSD" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="" +IUSE="cpu_flags_x86_sse" DEPEND="" DEPEND="${RDEPEND} virtual/pkgconfig" +src_prepare(){ + # --with-sse enable SSE + # --with-half enable half float (16 bits) + # --with-int128 enable int128 + local myconf + use cpu_flags_x86_sse && myconf+=( --with-sse ) + econf econf ${myconf[@]} + eapply_user +} + src_install(){ default sed -e "s#jellyfish-${PV}#jellyfish#" -i "${ED}/usr/$(get_libdir)"/pkgconfig/jellyfish-2.0.pc || die