[build] type = "autotools" [build.flags] configure = [ "--with-python3", "--without-python", "--enable-static=no", ] [dependencies] build = [ "python", "swig", ] runtime = ["glibc"] optional = [ "python" ] [package] description = "A library for Linux that makes using posix capabilities easy" homepage = "https://people.redhat.com/sgrubb/libcap-ng/" license = [ "GPL-2.0-or-later", "LGPL-2.1-or-later", ] name = "libcap-ng" version = "0.9.1" [[source]] extract_dir = "$name-$version" sha256 = "52418b8940f83dcc00dcd01d187e67c3399ff65f3fa558442e3a21b415cc46c0" url = "https://github.com/stevegrubb/libcap-ng/archive/v$version/libcap-ng-$version.tar.gz" post_extract = [ "touch NEWS", "autoreconf -fiv" ]