+pagure.io/libaio (#5354)

* new file:   projects/pagure.io/libaio/package.yml

* clang

* deparallelize
This commit is contained in:
Andrew 2024-02-24 20:50:15 +02:00 committed by GitHub
parent ed7abb2aa6
commit 4a697a072e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View 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