diff options
author | 2024-04-05 16:10:57 -0700 | |
---|---|---|
committer | 2024-04-05 16:17:11 -0700 | |
commit | e5ba9341af3dc6a38091bdf5ab318e28b14f9e97 (patch) | |
tree | a3038b25fe2ed91b6a78438f78ee2666702ce36c /dev-libs/libbpf | |
parent | dev-libs/libbpf: add 1.4.0 (diff) | |
download | gentoo-e5ba9341af3dc6a38091bdf5ab318e28b14f9e97.tar.gz gentoo-e5ba9341af3dc6a38091bdf5ab318e28b14f9e97.tar.bz2 gentoo-e5ba9341af3dc6a38091bdf5ab318e28b14f9e97.zip |
dev-libs/libbpf: Sync 9999 with 1.4.0
Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
Diffstat (limited to 'dev-libs/libbpf')
-rw-r--r-- | dev-libs/libbpf/libbpf-9999.ebuild | 25 |
1 files changed, 18 insertions, 7 deletions
diff --git a/dev-libs/libbpf/libbpf-9999.ebuild b/dev-libs/libbpf/libbpf-9999.ebuild index 4bc4f9eafffd..a666bd28bfd5 100644 --- a/dev-libs/libbpf/libbpf-9999.ebuild +++ b/dev-libs/libbpf/libbpf-9999.ebuild @@ -1,10 +1,13 @@ -# Copyright 2019-2022 Gentoo Authors +# Copyright 2019-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 inherit flag-o-matic toolchain-funcs +DESCRIPTION="Stand-alone build of libbpf from the Linux kernel" +HOMEPAGE="https://github.com/libbpf/libbpf" + if [[ ${PV} =~ [9]{4,} ]]; then inherit git-r3 EGIT_REPO_URI="https://github.com/libbpf/libbpf.git" @@ -14,18 +17,24 @@ else fi S="${WORKDIR}/${P}/src" -DESCRIPTION="Stand-alone build of libbpf from the Linux kernel" -HOMEPAGE="https://github.com/libbpf/libbpf" - LICENSE="GPL-2 LGPL-2.1 BSD-2" SLOT="0/$(ver_cut 1-2)" IUSE="static-libs" DEPEND=" sys-kernel/linux-headers - virtual/libelf" -RDEPEND="${DEPEND}" -BDEPEND="virtual/pkgconfig" + virtual/libelf +" +RDEPEND=" + ${DEPEND} +" +BDEPEND=" + virtual/pkgconfig +" + +DOCS=( + ../{README,SYNC}.md +) PATCHES=( "${FILESDIR}"/libbpf-9999-paths.patch @@ -49,6 +58,8 @@ src_install() { find "${ED}" -name '*.a' -delete || die fi + dodoc "${DOCS[@]}" + insinto /usr/$(get_libdir)/pkgconfig doins ${PN}.pc } |