1 # Copyright 1999-2016 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
4 # TODO: Add python support.
8 inherit eutils multilib-minimal
10 DESCRIPTION="high level interface to Linux seccomp filter"
11 HOMEPAGE="https://github.com/seccomp/libseccomp"
12 SRC_URI="https://github.com/seccomp/libseccomp/releases/download/v${PV}/${P}.tar.gz"
16 KEYWORDS="-* amd64 arm arm64 ~mips ppc ppc64 s390 x86"
19 # We need newer kernel headers; we don't keep strict control of the exact
20 # version here, just be safe and pull in the latest stable ones. #551248
21 DEPEND=">=sys-kernel/linux-headers-4.3"
25 -e '/_LDFLAGS/s:-static::' \
26 tools/Makefile.in || die
29 multilib_src_configure() {
32 $(use_enable static-libs static) \
36 multilib_src_install_all() {
37 find "${ED}" -name libseccomp.la -delete