upgrade(fullycapable)

This commit is contained in:
Jacob Heider 2023-04-24 14:34:24 -04:00
parent 47173998f0
commit a263c60304
No known key found for this signature in database
GPG key ID: A98011B5713535BF

View file

@ -5,17 +5,13 @@ distributable:
versions:
- 2.66
platform: linux
build:
dependencies:
tea.xyz/gx/cc: c99
tea.xyz/gx/make: '*'
script: |
if test "{{ hw.platform }}" = "darwin"; then
mkdir -p "{{ prefix }}"
touch "{{ prefix }}/linux-only"
exit 0
fi
make $ARGS --jobs {{ hw.concurrency }} install
script: make $ARGS --jobs {{ hw.concurrency }} install
env:
ARGS:
- prefix="{{prefix}}"
@ -23,14 +19,9 @@ build:
- RAISE_SETFCAP=no
provides:
darwin: []
linux:
- sbin/capsh
- sbin/getcap
- sbin/getpcaps
- sbin/setcap
test: |
if test "{{ hw.platform }}" = "linux"; then
getcap "{{ prefix }}/sbin/capsh"
fi
test: getcap "{{ prefix }}/sbin/capsh"