mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 02:25:18 +03:00
+pagure.io/libaio (#5354)
* new file: projects/pagure.io/libaio/package.yml * clang * deparallelize
This commit is contained in:
parent
ed7abb2aa6
commit
4a697a072e
31
projects/pagure.io/libaio/package.yml
Normal file
31
projects/pagure.io/libaio/package.yml
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
distributable:
|
||||||
|
url: https://pagure.io/libaio/archive/libaio-0.3.113/libaio-libaio-0.3.113.tar.gz
|
||||||
|
strip-components: 1
|
||||||
|
|
||||||
|
versions:
|
||||||
|
url: https://pagure.io/libaio/releases
|
||||||
|
match: /libaio-(\d+\.\d+\.\d+)\.tar\.gz/
|
||||||
|
strip:
|
||||||
|
- /^libaio-/
|
||||||
|
- /\.tar\.gz$/
|
||||||
|
|
||||||
|
platforms:
|
||||||
|
- linux
|
||||||
|
|
||||||
|
build:
|
||||||
|
script:
|
||||||
|
- make
|
||||||
|
- make prefix={{prefix}} install
|
||||||
|
|
||||||
|
test:
|
||||||
|
- run: cc $FIXTURE -laio -o test
|
||||||
|
fixture:
|
||||||
|
content: |
|
||||||
|
#include <libaio.h>
|
||||||
|
|
||||||
|
int main(int argc, char *argv[])
|
||||||
|
{
|
||||||
|
struct io_event *event;
|
||||||
|
}
|
||||||
|
extname: c
|
||||||
|
- ./test
|
Loading…
Reference in a new issue