diff options
Diffstat (limited to 'sci-biology/samtools')
-rw-r--r-- | sci-biology/samtools/Manifest | 1 | ||||
-rw-r--r-- | sci-biology/samtools/samtools-1.16.1.ebuild | 47 |
2 files changed, 48 insertions, 0 deletions
diff --git a/sci-biology/samtools/Manifest b/sci-biology/samtools/Manifest index 0ff07e0d4f83..6836d74da51a 100644 --- a/sci-biology/samtools/Manifest +++ b/sci-biology/samtools/Manifest @@ -1,2 +1,3 @@ DIST samtools-0.1.20.tar.gz 566387 BLAKE2B a62d74c408877754af50f5e5fea0e2289ec1e0c9f25013ed0d039bfe8ef61108600d917f8c9d356e98aca632795b4eb0f01ea1b54526a652577fb74a38a433c2 SHA512 15bd8cf401d14c1ab4faa591b6054f5ea9731c4e966f37f71d33d9081a270cfeb91e8a3d80c631e0725b49da81387f824c206e8c21553ad554d0cfc5c238a6e5 DIST samtools-1.15.1.tar.bz2 7831692 BLAKE2B 0fe94ff05075b219c77d0da8500c64bdffd53927950b5a67f8708c5c326ebc90a40c193b3bcf0baf3d09baed6fa596d9d024cb529340c6887de88614c9ff4bd6 SHA512 54a8a394b6b5231bd942236ec353027caaf48b4552a00b35573a1e71d680320d8140a73409bb76066c82e86fe62cf74f2f8f2f1a1e4aec96e4e8b9aff0d44a46 +DIST samtools-1.16.1.tar.bz2 8217689 BLAKE2B 51ca62655d1f43dd0c6f9bd38b323b8a9d8f7486ce42496e21186da06ea881d94e096214720f3fb8d1dd12d7a23881bc3b25e27b1a845d56157ac7ffda7130c1 SHA512 f9d6b8652234c782a1b369f028073ad4a66c44e9620ae60f0ecb35e0874f04ca633713078b692fdc1a1cc4f884ebdbf3ecae6881f11fb3b4fd3d27c5b8da67ba diff --git a/sci-biology/samtools/samtools-1.16.1.ebuild b/sci-biology/samtools/samtools-1.16.1.ebuild new file mode 100644 index 000000000000..8047657df992 --- /dev/null +++ b/sci-biology/samtools/samtools-1.16.1.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs + +DESCRIPTION="Utilities for analysing and manipulating the SAM/BAM alignment formats" +HOMEPAGE="http://www.htslib.org/" +SRC_URI="https://github.com/samtools/${PN}/releases/download/${PV}/${P}.tar.bz2" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~x64-macos" + +RDEPEND=" + dev-lang/perl + =sci-libs/htslib-$(ver_cut 1-2)*:= + sys-libs/ncurses:=[unicode(+)] + sys-libs/zlib" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +src_prepare() { + default + + # remove bundled htslib + rm -r htslib-* || die +} + +src_configure() { + econf \ + --with-ncurses \ + --with-htslib=system \ + CURSES_LIB="$($(tc-getPKG_CONFIG) --libs ncursesw || die)" +} + +src_compile() { + emake AR="$(tc-getAR)" +} + +src_install() { + default + + dodoc -r examples + docompress -x /usr/share/doc/${PF}/examples +} |