mirror of
https://github.com/ivabus/pantry
synced 2024-11-23 00:45:07 +03:00
upgrade(strace)
This commit is contained in:
parent
a263c60304
commit
c843fc0fa0
1 changed files with 4 additions and 13 deletions
|
@ -5,17 +5,13 @@ distributable:
|
|||
versions:
|
||||
github: strace/strace/releases/tags
|
||||
|
||||
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.h"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
./configure $ARGS
|
||||
make --jobs {{hw.concurrency}} install
|
||||
env:
|
||||
|
@ -27,11 +23,6 @@ build:
|
|||
- --disable-gcc-Werror
|
||||
|
||||
provides:
|
||||
darwin: []
|
||||
linux:
|
||||
- bin/strace
|
||||
- bin/strace
|
||||
|
||||
test: |
|
||||
if test "{{hw.platform}}" = "linux"; then
|
||||
strace true 2>&1
|
||||
fi
|
||||
test: strace true 2>&1
|
||||
|
|
Loading…
Reference in a new issue