summaryrefslogtreecommitdiff
path: root/sys-libs/libseccomp/libseccomp-2.2.3.ebuild
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-08-17 14:55:39 -0400
committerMike Frysinger <vapier@gentoo.org>2015-08-17 14:57:56 -0400
commitac91b1387f15a567a5533a8c74a727a4aceef981 (patch)
tree43d911933f0290518fd6877649f083ee092e1890 /sys-libs/libseccomp/libseccomp-2.2.3.ebuild
parent26860cded37b8671d956ad000d5e7be731894f0a (diff)
downloadgentoo-ac91b1387f15a567a5533a8c74a727a4aceef981.tar.gz
gentoo-ac91b1387f15a567a5533a8c74a727a4aceef981.tar.xz
sys-libs/libseccomp: version bump
Diffstat (limited to 'sys-libs/libseccomp/libseccomp-2.2.3.ebuild')
-rw-r--r--sys-libs/libseccomp/libseccomp-2.2.3.ebuild40
1 files changed, 40 insertions, 0 deletions
diff --git a/sys-libs/libseccomp/libseccomp-2.2.3.ebuild b/sys-libs/libseccomp/libseccomp-2.2.3.ebuild
new file mode 100644
index 00000000000..b1c429ab49c
--- /dev/null
+++ b/sys-libs/libseccomp/libseccomp-2.2.3.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+# TODO: Add python support.
+
+EAPI="5"
+
+inherit eutils multilib-minimal
+
+DESCRIPTION="high level interface to Linux seccomp filter"
+HOMEPAGE="https://github.com/seccomp/libseccomp"
+SRC_URI="https://github.com/seccomp/libseccomp/releases/download/v${PV}/${P}.tar.gz"
+
+LICENSE="LGPL-2"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~arm ~arm64 ~mips ~x86"
+IUSE="static-libs"
+
+# We need newer kernel headers; we don't keep strict control of the exact
+# version here, just be safe and pull in the latest stable ones. #551248
+DEPEND=">=sys-kernel/linux-headers-3.18"
+
+src_prepare() {
+ sed -i \
+ -e '/_LDFLAGS/s:-static::' \
+ tools/Makefile.in || die
+}
+
+multilib_src_configure() {
+ ECONF_SOURCE=${S} \
+ econf \
+ $(use_enable static-libs static) \
+ --disable-python
+}
+
+multilib_src_install_all() {
+ find "${ED}" -name libseccomp.la -delete
+ einstalldocs
+}