Andrew Geissler | 517393d | 2023-01-13 08:55:19 -0600 | [diff] [blame] | 1 | DESCRIPTION = "Unprivileged sandboxing tool" |
| 2 | HOMEPAGE = "https://github.com/containers/bubblewrap" |
| 3 | LICENSE = "LGPL-2.0-or-later" |
| 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=5f30f0716dfdd0d91eb439ebec522ec2" |
| 5 | |
| 6 | DEPENDS = "libcap" |
| 7 | |
| 8 | SRC_URI = "https://github.com/containers/${BPN}/releases/download/v${PV}/${BP}.tar.xz" |
| 9 | SRC_URI[sha256sum] = "764ab7100bd037ea53d440d362e099d7a425966bc62d1f00ab26b8fbb882a9dc" |
| 10 | |
| 11 | inherit autotools bash-completion github-releases manpages pkgconfig |
| 12 | |
| 13 | GITHUB_BASE_URI = "https://github.com/containers/${BPN}/releases/" |
| 14 | |
| 15 | PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'selinux', d)}" |
| 16 | PACKAGECONFIG[manpages] = "--enable-man,--disable-man,libxslt-native docbook-xsl-stylesheets-native xmlto-native" |
| 17 | PACKAGECONFIG[selinux] = "--enable-selinux,--disable-selinux,libselinux" |
| 18 | PACKAGECONFIG[setuid] = "--with-priv-mode=setuid,--with-priv-mode=none" |
| 19 | |
| 20 | PACKAGES += "${PN}-zsh-completion" |
| 21 | |
| 22 | FILES:${PN}-zsh-completion = "${datadir}/zsh/site-functions" |
| 23 | |
| 24 | BBCLASSEXTEND = "native" |