Gentoo Archives: gentoo-commits

From: Martin Mokrejs <mmokrejs@×××××××××××××××.cz>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: sci-biology/bcftools/
Date: Sun, 30 Apr 2017 13:31:30
Message-Id: 1493559071.1aa92f582501092acc6789f0fe818856def206f0.mmokrejs@gentoo
1 commit: 1aa92f582501092acc6789f0fe818856def206f0
2 Author: Martin Mokrejš <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
3 AuthorDate: Sun Apr 30 13:31:11 2017 +0000
4 Commit: Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
5 CommitDate: Sun Apr 30 13:31:11 2017 +0000
6 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=1aa92f58
7
8 sci-biology/bcftools: version bump
9
10 Compiles its own static build of htslib-1.4
11
12 Package-Manager: Portage-2.3.5, Repoman-2.3.2
13
14 sci-biology/bcftools/bcftools-1.4.ebuild | 29 +++++++++++++++++++++++++++++
15 1 file changed, 29 insertions(+)
16
17 diff --git a/sci-biology/bcftools/bcftools-1.4.ebuild b/sci-biology/bcftools/bcftools-1.4.ebuild
18 new file mode 100644
19 index 000000000..b194609b6
20 --- /dev/null
21 +++ b/sci-biology/bcftools/bcftools-1.4.ebuild
22 @@ -0,0 +1,29 @@
23 +# Copyright 1999-2017 Gentoo Foundation
24 +# Distributed under the terms of the GNU General Public License v2
25 +
26 +EAPI=5
27 +
28 +inherit toolchain-funcs
29 +
30 +DESCRIPTION="Utilities for variant calling and manipulating VCF and BCF files"
31 +HOMEPAGE="http://www.htslib.org"
32 +SRC_URI="https://github.com/samtools/bcftools/releases/download/"${PV}"/"${P}".tar.bz2"
33 +
34 +LICENSE="MIT"
35 +SLOT="0"
36 +KEYWORDS="~amd64"
37 +IUSE=""
38 +
39 +# compiles bundled sci-libs/htslib-"${PV}" as a static library and links it into binaries
40 +DEPEND="dev-lang/perl"
41 +RDEPEND="${DEPEND}"
42 +
43 +src_prepare(){
44 + sed -e "s@gcc@$(tc-getCC)@" \
45 + -e 's#prefix = /usr/local#prefix = "${EPREFIX}"/usr#' \
46 + -e "s@CFLAGS = -g -Wall -Wc++-compat -O2@#CFLAGS = ${CFLAGS}@" -i Makefile || die
47 +
48 + sed -e "s@gcc@$(tc-getCC)@" \
49 + -e 's#prefix = /usr/local#prefix = "${EPREFIX}"/usr#' \
50 + -e "s@CFLAGS = -g -Wall -O2@#CFLAGS = ${CFLAGS}@" -i htslib-*/Makefile || die
51 +}