diff options
author | Martin Mokrejš <mmokrejs@fold.natur.cuni.cz> | 2017-04-30 15:31:11 +0200 |
---|---|---|
committer | Martin Mokrejš <mmokrejs@fold.natur.cuni.cz> | 2017-04-30 15:31:11 +0200 |
commit | 1aa92f582501092acc6789f0fe818856def206f0 (patch) | |
tree | 4631254c23840ce9a8ac976d3933f70af12a3adc /sci-biology | |
parent | sci-biology/samtools: version bump (diff) | |
download | sci-1aa92f582501092acc6789f0fe818856def206f0.tar.gz sci-1aa92f582501092acc6789f0fe818856def206f0.tar.bz2 sci-1aa92f582501092acc6789f0fe818856def206f0.zip |
sci-biology/bcftools: version bump
Compiles its own static build of htslib-1.4
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'sci-biology')
-rw-r--r-- | sci-biology/bcftools/Manifest | 1 | ||||
-rw-r--r-- | sci-biology/bcftools/bcftools-1.4.ebuild | 29 |
2 files changed, 30 insertions, 0 deletions
diff --git a/sci-biology/bcftools/Manifest b/sci-biology/bcftools/Manifest index 04df0b741..b97a21f83 100644 --- a/sci-biology/bcftools/Manifest +++ b/sci-biology/bcftools/Manifest @@ -1 +1,2 @@ DIST bcftools-1.3.1.tar.bz2 1673351 SHA256 12c37a4054cbf1980223e2b3a80a7fdb3fd850324a4ba6832e38fdba91f1b924 SHA512 0cf3e7907818998d097f4500001cc2b44bb372d3460e2e35e45881add16332bad633757367a3cc908af7405be0447d11b1c4d4015d0b89cebf2fdd700bbee58d WHIRLPOOL f89286bf1b0c7324bc25bc8383c59b2614809f7184fc952c016a36f9b678e9711634519677aa7dd414bc84e55ffbc96b317da86019f6350723a1f601dd89ac86 +DIST bcftools-1.4.tar.bz2 2803064 SHA256 8fb1b0a47ed4e1f9d7c70129d7993aa650da1688fd931b10646d1c4707ae234d SHA512 5787d504e5b16e230546402de54508c428082ee5bc69dcdd0cbb122e8192e41d2618b2a41ecfd1cd642e6ec072d17cc55ce0c82b442876566e829eba1f6e6097 WHIRLPOOL 92cbdd580a690f8b5a16e47ec4574f98b4d76050717ad7d53e1165895d310bee9100622a729e5b1cfeb232aa0f705db3deaf6faf707a94da5719270fc488dfa9 diff --git a/sci-biology/bcftools/bcftools-1.4.ebuild b/sci-biology/bcftools/bcftools-1.4.ebuild new file mode 100644 index 000000000..b194609b6 --- /dev/null +++ b/sci-biology/bcftools/bcftools-1.4.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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="" + +# compiles bundled sci-libs/htslib-"${PV}" as a static library and links it into binaries +DEPEND="dev-lang/perl" +RDEPEND="${DEPEND}" + +src_prepare(){ + sed -e "s@gcc@$(tc-getCC)@" \ + -e 's#prefix = /usr/local#prefix = "${EPREFIX}"/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 = "${EPREFIX}"/usr#' \ + -e "s@CFLAGS = -g -Wall -O2@#CFLAGS = ${CFLAGS}@" -i htslib-*/Makefile || die +} |