1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 inherit autotools linux-info
8 DESCRIPTION="Dynamic instrumentation of the Linux kernel with BPF and kprobes"
9 HOMEPAGE="https://github.com/iovisor/ply"
10 SRC_URI="https://github.com/iovisor/ply/archive/${PV}.tar.gz -> ${P}.tar.gz"
14 KEYWORDS="~amd64 ~arm ~arm64 ~x86"
18 local CONFIG_CHECK="~BPF ~BPF_SYSCALL ~NET_CLS_BPF ~NET_ACT_BPF
19 ~BPF_JIT ~HAVE_BPF_JIT ~BPF_EVENTS"
25 sed -i "/^AC_INIT/c\AC_INIT(${PN}, ${PV}," configure.ac || die
32 rm -f "${ED}/usr/share/doc/${P}/COPYING"
34 if ! use static-libs; then
35 find "${D}" -type f -name '*.a' -delete || die