mirror of
https://github.com/ivabus/pantry
synced 2024-11-29 19:55:06 +03:00
1245af6a42
new file: projects/people.redhat.com/sgrubb/libcap-ng/test.c
31 lines
No EOL
739 B
YAML
31 lines
No EOL
739 B
YAML
distributable:
|
|
url: https://people.redhat.com/sgrubb/libcap-ng/libcap-ng-{{version}}.tar.gz
|
|
strip-components: 1
|
|
display-name: libcap-ng
|
|
versions:
|
|
url: https://people.redhat.com/sgrubb/libcap-ng/
|
|
match: /libcap-ng-\d+\.\d+\.\d+\.tar\.gz/
|
|
strip:
|
|
- /^libcap-ng-/
|
|
- /\.tar\.gz/
|
|
platforms:
|
|
- linux
|
|
build:
|
|
script:
|
|
- ./configure $CONFIGURE_ARGS
|
|
- make --jobs {{ hw.concurrency }}
|
|
- make --jobs {{ hw.concurrency }} install
|
|
env:
|
|
CONFIGURE_ARGS:
|
|
- --disable-dependency-tracking
|
|
- --prefix="{{prefix}}"
|
|
- --libdir="{{prefix}}/lib"
|
|
- --disable-silent-rules
|
|
provides:
|
|
- bin/captest
|
|
- bin/filecap
|
|
- bin/netcap
|
|
- bin/pscap
|
|
test:
|
|
- cc test.c -lcap-ng -o test
|
|
- ./test | grep ok |