[build] type = "autotools" [build.flags] post_compile = [ "cd src/python && VERSION_RELEASE=$version CPPFLAGS=\"$CPPFLAGS -I../../include\" python3 setup.py bdist_wheel", ] post_install = [ "cd src/python && VERSION_RELEASE=$version python3 setup.py install --root=$DESTDIR", ] skip_tests = true [dependencies] build = [ "bash", "cython", "gperf", "python", "python-setuptools", "python-wheel", ] runtime = [ "glibc", ] optional = ["python"] [package] description = "Enhanced seccomp library" homepage = "https://github.com/seccomp/libseccomp" license = "LGPL-2.1-only" name = "libseccomp" version = "2.6.0" [[source]] extract_dir = "$name-$version" post_extract = ["autoreconf -fiv"] url = "https://github.com/seccomp/libseccomp.git#v$version" cherry_pick = ["614530bc8b3c9f49aa59d7eaef4863b746504c23"]