diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-08-21 20:41:46 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-08-21 20:41:46 +0100 |
commit | 2518522472e5de9c52c78dc0246475fe0ae3cc05 (patch) | |
tree | 75e45cd85194021231c22ad696e2900ab56b8f15 /dev-libs/libbpf/libbpf-0.8.0.ebuild | |
parent | cb701a27e552fb85d830f305bee3e17cddae0234 (diff) |
gentoo auto-resync : 21:08:2022 - 20:41:46
Diffstat (limited to 'dev-libs/libbpf/libbpf-0.8.0.ebuild')
-rw-r--r-- | dev-libs/libbpf/libbpf-0.8.0.ebuild | 51 |
1 files changed, 0 insertions, 51 deletions
diff --git a/dev-libs/libbpf/libbpf-0.8.0.ebuild b/dev-libs/libbpf/libbpf-0.8.0.ebuild deleted file mode 100644 index 47b9e6026fa9..000000000000 --- a/dev-libs/libbpf/libbpf-0.8.0.ebuild +++ /dev/null @@ -1,51 +0,0 @@ -# Copyright 2019-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit flag-o-matic toolchain-funcs - -if [[ ${PV} =~ [9]{4,} ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/libbpf/libbpf.git" -else - SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" -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 ${PV})" -IUSE="static-libs" - -DEPEND=" - sys-kernel/linux-headers - virtual/libelf -" -RDEPEND="${DEPEND}" - -PATCHES=( - "${FILESDIR}"/libbpf-9999-paths.patch -) - -src_configure() { - append-cflags -fPIC - tc-export CC AR - export LIBSUBDIR="$(get_libdir)" V=1 -} - -src_install() { - emake \ - DESTDIR="${D}" \ - install install_uapi_headers - - if ! use static-libs; then - find "${ED}" -name '*.a' -delete || die - fi - - insinto /usr/$(get_libdir)/pkgconfig - doins ${PN}.pc -} |