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