mirror of
https://github.com/ivabus/pantry
synced 2024-11-14 04:25:08 +03:00
29 lines
579 B
YAML
29 lines
579 B
YAML
distributable:
|
|
url: https://dist.libuv.org/dist/v{{version}}/libuv-v{{version}}-dist.tar.gz
|
|
sig: ${{url}}.sign
|
|
strip-components: 1
|
|
|
|
versions:
|
|
github: libuv/libuv/tags
|
|
|
|
build:
|
|
script: |
|
|
./configure --prefix="{{prefix}}"
|
|
make --jobs {{hw.concurrency}}
|
|
make install
|
|
|
|
test:
|
|
script: |
|
|
mv $FIXTURE $FIXTURE.c
|
|
cc $FIXTURE.c -luv
|
|
./a.out
|
|
fixture: |
|
|
#include <uv.h>
|
|
#include <stdlib.h>
|
|
int main() {
|
|
uv_loop_t* loop = malloc(sizeof *loop);
|
|
uv_loop_init(loop);
|
|
uv_loop_close(loop);
|
|
free(loop);
|
|
return 0;
|
|
}
|