dev-libs/imsg-compat: update to 8.0.0

Signed-off-by: Aisha Tammy <gentoo@aisha.cc>
This commit is contained in:
Aisha Tammy
2024-09-04 18:27:25 -04:00
parent a99a9f5470
commit 0cda650625
3 changed files with 30 additions and 20 deletions

View File

@@ -1,9 +1,9 @@
# Copyright 2019-2021 Gentoo Authors
# Copyright 2019-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
EAPI=8
inherit toolchain-funcs
inherit meson
DESCRIPTION="linux port of OpenBSD imsg"
@@ -21,21 +21,5 @@ fi
LICENSE="ISC"
SLOT="0"
IUSE="static-libs test"
IUSE="test"
RESTRICT="!test? ( test )"
src_prepare() {
default
sed "s/@LIBDIR@/$(get_libdir)/" -i libimsg.pc.in || die
}
src_configure() {
tc-export CC AR
}
src_install() {
emake DESTDIR="${D}" PREFIX="${EPREIFX}/usr" LIBDIR="${EPREFIX}/usr/$(get_libdir)" install
if ! use static-libs ; then
find "${ED}"/usr/$(get_libdir) -name "*.a" -delete || die
fi
}