commit: adb85a2fa58a75fd7a99a24f5fd3458420ba473f Author: Martin Mokrejš <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz> AuthorDate: Mon Mar 2 22:35:23 2015 +0000 Commit: Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz> CommitDate: Mon Mar 2 22:35:23 2015 +0000 URL: http://sources.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=adb85a2f
version bump, respect CC and CFLAGS Package-Manager: portage-2.2.15 --- sci-biology/bcftools/ChangeLog | 6 ++++++ sci-biology/bcftools/bcftools-1.1.ebuild | 26 -------------------------- sci-biology/bcftools/bcftools-1.2.ebuild | 30 ++++++++++++++++++++++++++++++ 3 files changed, 36 insertions(+), 26 deletions(-) diff --git a/sci-biology/bcftools/ChangeLog b/sci-biology/bcftools/ChangeLog index fc2086f..f8f7b58 100644 --- a/sci-biology/bcftools/ChangeLog +++ b/sci-biology/bcftools/ChangeLog @@ -2,6 +2,12 @@ # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ +*bcftools-1.2 (02 Mar 2015) + + 02 Mar 2015; Martin Mokrejs <mmokr...@fold.natur.cuni.cz> + +bcftools-1.2.ebuild, -bcftools-1.1.ebuild: + version bump, respect CC and CFLAGS + 15 Jan 2015; Christoph Junghans <ott...@gentoo.org> bcftools-1.1.ebuild: fixed license diff --git a/sci-biology/bcftools/bcftools-1.1.ebuild b/sci-biology/bcftools/bcftools-1.1.ebuild deleted file mode 100644 index 7303278..0000000 --- a/sci-biology/bcftools/bcftools-1.1.ebuild +++ /dev/null @@ -1,26 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=5 - -DESCRIPTION="Utilities for variant calling and manipulating VCF and BCF files" -HOMEPAGE="http://www.htslib.org/bcftools_release_notes" -SRC_URI="http://sourceforge.net/projects/samtools/files/samtools/1.1/bcftools-1.1.tar.bz2" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64" -IUSE="" - -DEPEND="sci-libs/htslib - dev-lang/perl" -RDEPEND="${DEPEND}" - -src_prepare(){ - sed -e 's#prefix = /usr/local#prefix = /usr#' \ - -e 's@CFLAGS = -g -Wall -Wc++-compat -O2@#CFLAGS = -g -Wall -Wc++-compat -O2@' -i Makefile - - sed -e 's#prefix = /usr/local#prefix = /usr#' \ - -e 's@CFLAGS = -g -Wall -Wc++-compat -O2@#CFLAGS = -g -Wall -Wc++-compat -O2@' -i htslib-1.1/Makefile -} diff --git a/sci-biology/bcftools/bcftools-1.2.ebuild b/sci-biology/bcftools/bcftools-1.2.ebuild new file mode 100644 index 0000000..3207a01 --- /dev/null +++ b/sci-biology/bcftools/bcftools-1.2.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=5 + +inherit toolchain-funcs + +DESCRIPTION="Utilities for variant calling and manipulating VCF and BCF files" +HOMEPAGE="http://www.htslib.org" +SRC_URI="https://github.com/samtools/bcftools/releases/download/"${PV}"/"${P}".tar.bz2" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +DEPEND="sci-libs/htslib + dev-lang/perl" +RDEPEND="${DEPEND}" + +src_prepare(){ + sed -e "s@gcc@$(tc-getCC)@" \ + -e 's#prefix = /usr/local#prefix = /usr#' \ + -e "s@CFLAGS = -g -Wall -Wc++-compat -O2@#CFLAGS = ${CFLAGS}@" -i Makefile || die + + sed -e "s@gcc@$(tc-getCC)@" \ + -e 's#prefix = /usr/local#prefix = /usr#' \ + -e "s@CFLAGS = -g -Wall -O2@#CFLAGS = ${CFLAGS}@" -i htslib-*/Makefile || die +}