[net-libs/libmnl] sync

This commit is contained in:
Robert Förster 2023-05-02 17:56:26 +02:00
parent 871bc19cf0
commit dedf9e0d4a
1 changed files with 5 additions and 13 deletions

View File

@ -1,10 +1,9 @@
# Copyright 1999-2020 Gentoo Authors
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit git-r3 autotools toolchain-funcs usr-ldscript
EAPI=8
inherit autotools git-r3
DESCRIPTION="Minimalistic netlink library"
HOMEPAGE="https://netfilter.org/projects/libmnl/"
EGIT_REPO_URI="git://git.netfilter.org/libmnl.git"
@ -12,7 +11,7 @@ EGIT_REPO_URI="git://git.netfilter.org/libmnl.git"
LICENSE="LGPL-2.1"
SLOT="0/0.2.0"
KEYWORDS=""
IUSE="examples static-libs"
IUSE="examples"
src_unpack() {
git-r3_src_unpack
@ -22,17 +21,10 @@ src_prepare(){
default
eautoreconf
}
src_configure() {
econf $(use_enable static-libs static)
}
src_install() {
default
gen_usr_ldscript -a mnl
find "${D}" -name '*.la' -delete || die
find "${ED}" -name '*.la' -delete || die
if use examples; then
find examples/ -name 'Makefile*' -delete || die