pantry/projects/google.com/fullycapable/package.yml
2023-04-24 14:34:24 -04:00

28 lines
520 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
platform: 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"