dev-libs/libserdes: stop erroneously installing static libs

The fake autotools replacement is NOT in fact a drop-in replacement
after all. It doesn't support our use case at all. `rm` it manually.

Closes: https://bugs.gentoo.org/725138
Closes: https://bugs.gentoo.org/957823
Bug: https://github.com/edenhill/mklove/issues/16
Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>
This commit is contained in:
Eli Schwartz
2025-06-13 03:16:11 -04:00
parent a423dab2e6
commit 6dc0ca3db5
@@ -0,0 +1,24 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DESCRIPTION="Avro SerializationDeserialization w/ Confluent schema-registry support"
HOMEPAGE="https://github.com/confluentinc/libserdes"
SRC_URI="https://github.com/confluentinc/libserdes/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
DEPEND="dev-libs/jansson:=
net-misc/curl
dev-libs/avro-c"
RDEPEND="${DEPEND}"
src_install() {
default
# NIH reinvention of autoconf does not support autotools options
# such as controlling shared/static libs
rm "${ED}"/usr/$(get_libdir)/libserdes.a || die
}