mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 02:25:18 +03:00
upgrade(fullycapable)
This commit is contained in:
parent
47173998f0
commit
a263c60304
|
@ -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
|
||||
- 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"
|
||||
|
|
Loading…
Reference in a new issue