blob: 2d93479cf9ddde4ea7d7208032ebbd1883bff2d6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
SUMMARY = "interface to seccomp filtering mechanism"
DESCRIPTION = "The libseccomp library provides and easy to use, platform independent,interface to the Linux Kernel's syscall filtering mechanism: seccomp."
SECTION = "security"
LICENSE = "GPL-2.0"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
SRC_URI = "http://sourceforge.net/projects/libseccomp/files/${BP}.tar.gz \
file://compiler.patch \
file://0001-tests-create-install-tests-target.patch \
file://0002-tests-install-python-tests-if-appropriate.patch \
file://0003-tests-introduce-alternate-test-report-format.patch \
"
SRC_URI[md5sum] = "1f41207b29e66a7e5e375dd48a64de85"
SRC_URI[sha256sum] = "8812c11e407c383f5ad6afb84a88e5a0224477bcfe8ff03f0c548e5abaac841c"
do_configure() {
${S}/configure --prefix=${prefix} --libdir=${libdir}
}
do_compile_append() {
oe_runmake DESTDIR=${D} tests
}
do_install() {
oe_runmake DESTDIR=${D} install
oe_runmake DESTDIR=${D} install-tests
}
# MIPS, aarch64, and PowerPC are not supported in this version.
COMPATIBLE_HOST = '(x86_64|i.86|arm).*-linux'
PACKAGES += "${PN}-tests "
FILES_${PN}-tests = "${libdir}/${BPN}/tests/*"
FILES_${PN}-dbg += "${libdir}/${BPN}/tests/.debug/*"
RDEPENDS_${PN} = "bash"
|