pantry/projects/google.com/fullycapable/package.yml

28 lines
521 B
YAML
Raw Normal View History

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
2023-04-24 22:57:50 +03:00
platforms: linux
2023-04-24 21:34:24 +03:00
build:
dependencies:
tea.xyz/gx/cc: c99
tea.xyz/gx/make: '*'
2023-04-24 21:34:24 +03:00
script: make $ARGS --jobs {{ hw.concurrency }} install
env:
ARGS:
- prefix="{{prefix}}"
- lib=lib
- RAISE_SETFCAP=no
provides:
2023-04-24 21:34:24 +03:00
- sbin/capsh
- sbin/getcap
- sbin/getpcaps
- sbin/setcap
2023-04-24 21:34:24 +03:00
test: getcap "{{ prefix }}/sbin/capsh"