pantry/projects/google.com/fullycapable/package.yml
2023-04-25 15:23:23 -04:00

27 lines
521 B
YAML

distributable:
url: https://mirrors.edge.kernel.org/pub/linux/libs/security/linux-privs/libcap2/libcap-{{ version.raw }}.tar.xz
strip-components: 1
versions:
- 2.66
platforms: linux
build:
dependencies:
tea.xyz/gx/cc: c99
tea.xyz/gx/make: '*'
script: make $ARGS --jobs {{ hw.concurrency }} install
env:
ARGS:
- prefix="{{prefix}}"
- lib=lib
- RAISE_SETFCAP=no
provides:
- sbin/capsh
- sbin/getcap
- sbin/getpcaps
- sbin/setcap
test: getcap "{{ prefix }}/sbin/capsh"