summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakov Smolić <jsmolic@gentoo.org>2021-11-29 12:46:04 +0100
committerJakov Smolić <jsmolic@gentoo.org>2021-11-29 12:46:21 +0100
commit39729ace49cc3461ffede93e031ee3f62e5eb51c (patch)
treef970e8a543f53ccade54b6f921227c16834ef6b4
parentdev-util/bpftool: drop 5.15.2 (diff)
downloadgentoo-39729ace49cc3461ffede93e031ee3f62e5eb51c.tar.gz
gentoo-39729ace49cc3461ffede93e031ee3f62e5eb51c.tar.bz2
gentoo-39729ace49cc3461ffede93e031ee3f62e5eb51c.zip
dev-libs/libbpf: drop 0.4.0
Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>
-rw-r--r--dev-libs/libbpf/Manifest1
-rw-r--r--dev-libs/libbpf/libbpf-0.4.0.ebuild62
2 files changed, 0 insertions, 63 deletions
diff --git a/dev-libs/libbpf/Manifest b/dev-libs/libbpf/Manifest
index da6ed9ecbf9..f5a32a29f9f 100644
--- a/dev-libs/libbpf/Manifest
+++ b/dev-libs/libbpf/Manifest
@@ -1,2 +1 @@
-DIST libbpf-0.4.0.tar.gz 1015782 BLAKE2B f3bb1a5b1808d30612d9d3852400b71cb5d2ba4c31a177dd72b1f6060bc1d97f8d4ea7bb071a1ae2c5e94e3a4745593a0cc6b8ab6e56288e6cfb046d6de43717 SHA512 5d247f724f0dd3b2dadcc1ac10026ac57d3029b9dd7eb2831e282c58a4143042ef024170781139d89d85c4e9a3849b9ec0d3604a00bb3433be7622682b6dabc1
DIST libbpf-0.5.0.tar.gz 815083 BLAKE2B 9097d808f03cbbe61cd59b24347075e2937603f51350f83f8897123900c911392d7545af8135f39f749132c6518296f1a4d22d37c0c7b4371631f5c63a0dd9ac SHA512 3c578d3e6e93a306a1f182978e54f35fec8acfa51fad5d7de72c5003f10c266d7474e82d6dd045311fcaf8c18aa8cebe64a3336a458a9ea477e5a58e5111dd85
diff --git a/dev-libs/libbpf/libbpf-0.4.0.ebuild b/dev-libs/libbpf/libbpf-0.4.0.ebuild
deleted file mode 100644
index 438a4a1415e..00000000000
--- a/dev-libs/libbpf/libbpf-0.4.0.ebuild
+++ /dev/null
@@ -1,62 +0,0 @@
-# Copyright 2019-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-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/libbpf/libbpf/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86"
-fi
-S="${WORKDIR}/${P}/src"
-
-HOMEPAGE="https://github.com/libbpf/libbpf"
-DESCRIPTION="Stand-alone build of libbpf from the Linux kernel"
-
-LICENSE="GPL-2 LGPL-2.1 BSD-2"
-SLOT="0/${PV}"
-IUSE="+static-libs"
-
-COMMON_DEPEND="
- virtual/libelf
-"
-DEPEND="
- ${COMMON_DEPEND}
- sys-kernel/linux-headers
-"
-RDEPEND="
- ${COMMON_DEPEND}
-"
-
-PATCHES=(
- "${FILESDIR}/libbpf-9999-paths.patch"
-)
-
-src_compile() {
- append-cflags -fPIC
- emake \
- BUILD_SHARED=y \
- LIBSUBDIR="$(get_libdir)" \
- CC="$(tc-getCC)" \
- AR="$(tc-getAR)" \
- V=1
-}
-
-src_install() {
- emake \
- BUILD_SHARED=y \
- LIBSUBDIR="$(get_libdir)" \
- DESTDIR="${D}" \
- install install_uapi_headers
-
- insinto /usr/$(get_libdir)/pkgconfig
- doins ${PN}.pc
-
- if ! use static-libs; then
- find "${D}" -name '*.a' -delete || die
- fi
-}