commit:     c2c1397cbaedfa6c7e06b1199cbfabaffd162462
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 29 13:31:49 2025 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sat Nov 29 13:31:49 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2c1397c

sci-biology/samtools: add 1.22.1

Signed-off-by: David Seifert <soap <AT> gentoo.org>

 sci-biology/samtools/Manifest               |  1 +
 sci-biology/samtools/samtools-1.22.1.ebuild | 47 +++++++++++++++++++++++++++++
 2 files changed, 48 insertions(+)

diff --git a/sci-biology/samtools/Manifest b/sci-biology/samtools/Manifest
index 0a2373a0585a..c6ab7643bd6e 100644
--- a/sci-biology/samtools/Manifest
+++ b/sci-biology/samtools/Manifest
@@ -1,2 +1,3 @@
 DIST samtools-1.20.tar.bz2 9179938 BLAKE2B 
b534e659899a822e191c779a6ce9247854036da3435a0b63748783edc96d610ff0f02f73bbb5c1eab3ff86dbcca331113f3312a7c3376141ef89b6a8684446e4
 SHA512 
8526286243d057758cb846311d0a8c728026d31438e87fcc03e0df576f33bcc6da0e18bce141dbdc438a116341c94aa92701cdf10ba6b1301eadedbb34120822
+DIST samtools-1.22.1.tar.bz2 9269357 BLAKE2B 
240b2166a548d398af18e5c5b1897988e4a1267988e1c3f508c990b05cfa684ca631336971d28ce08581b9d65c3b33cdb1be4cfabc5b65e210c3ae0a57215881
 SHA512 
31d05490f3b5d8879b7cdfe16bb628e2a1c42fdfd98873f55796b94e2d59a86cd58d7a820758d368998f0c013a26da838a7b051c01f0f22d38362ae13d069600
 DIST samtools-1.22.tar.bz2 9292743 BLAKE2B 
74805efe6035d4987762c5d9c5fc1ede217f8c67e1778767c2e611c0844639149c73b7cef40649212ba3dcd11f089d0ede91f6127df31433d4e33c8f22378b93
 SHA512 
8bb4d68ac5f819d6e175f43d8719402f17636b958ed016a943dc6c1971704f405908562ff9fe8f3c7c8725f729057024b305a6ca428a09be8b1e63a1df1cd578

diff --git a/sci-biology/samtools/samtools-1.22.1.ebuild 
b/sci-biology/samtools/samtools-1.22.1.ebuild
new file mode 100644
index 000000000000..8f07dd8cd7e5
--- /dev/null
+++ b/sci-biology/samtools/samtools-1.22.1.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2025 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(+)]
+       virtual/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
+}

Reply via email to