mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
sci-libs/htslib: drop 1.20
Closes: https://bugs.gentoo.org/927873 Signed-off-by: David Seifert <soap@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST htslib-1.20.tar.bz2 4779028 BLAKE2B def7a135f37a4c7a167ada554b92b0e0107ab3dcbdab69abdea387035159f40fb183477275c137b0d786fdfc7264303898f98c54acb1714f9b7cb21e22612143 SHA512 a156f5c895fdae77f976f463a2d4d1111dc056893ef45b7e9cf62e9115898bc8cb47465bb1779e534c26943df478892385d44646e97bd0fa67fceb83ef7a649b
|
||||
DIST htslib-1.23.1.tar.bz2 4987046 BLAKE2B bb8beb6ce435bb8a940c70edd830c54c90a626de553ddfb159a68cd9fca97a608ee2a4b3ae820b52730bf3be2fd0b8e1b1776f005bf18a39c6237df0451448a8 SHA512 abe3c7cf37c2300b5d2b82f9f0a88cb1b29f289aad829d2c1c7e39ca2ddafd9fd43efea3301a7e1fd1be1b91e5fbc32511961bb20f2aa1a58729ac84603d59f0
|
||||
|
||||
@@ -1,52 +0,0 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="C library for high-throughput sequencing data formats"
|
||||
HOMEPAGE="http://www.htslib.org/"
|
||||
SRC_URI="https://github.com/samtools/${PN}/releases/download/${PV}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0/3"
|
||||
KEYWORDS="amd64 ~x86"
|
||||
IUSE="+bzip2 curl +lzma"
|
||||
|
||||
RDEPEND="
|
||||
virtual/zlib:=
|
||||
bzip2? ( app-arch/bzip2 )
|
||||
curl? ( net-misc/curl )
|
||||
lzma? ( app-arch/xz-utils )"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# upstream injects LDFLAGS into the .pc file,
|
||||
# which is a big nono for QA
|
||||
sed -e '/^\(static_l\|Libs.private\|Requires.private\)/d' \
|
||||
-i htslib.pc.in || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--disable-gcs \
|
||||
--disable-plugins \
|
||||
--disable-s3 \
|
||||
$(use_enable bzip2 bz2) \
|
||||
$(use_enable curl libcurl) \
|
||||
$(use_enable lzma)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake AR="$(tc-getAR)"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
# doesn't use libtool, can't disable static libraries
|
||||
find "${ED}" -name '*.a' -delete || die
|
||||
}
|
||||
Reference in New Issue
Block a user