mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 02:25:18 +03:00
+0mq
This commit is contained in:
parent
6dfec14f5a
commit
b13f02d37c
7
projects/zeromq.org/fixture.c
Normal file
7
projects/zeromq.org/fixture.c
Normal file
|
@ -0,0 +1,7 @@
|
|||
#include <assert.h>
|
||||
#include <zmq.h>
|
||||
int main() {
|
||||
zmq_msg_t query;
|
||||
assert(0 == zmq_msg_init_size(&query, 1));
|
||||
return 0;
|
||||
}
|
30
projects/zeromq.org/package.yml
Normal file
30
projects/zeromq.org/package.yml
Normal file
|
@ -0,0 +1,30 @@
|
|||
distributable:
|
||||
url: https://github.com/zeromq/libzmq/releases/download/v4.3.4/zeromq-4.3.4.tar.gz
|
||||
strip-components: 1
|
||||
|
||||
versions:
|
||||
github: zeromq/libzmq/releases/tags
|
||||
|
||||
build:
|
||||
dependencies:
|
||||
tea.xyz/gx/cc: c99
|
||||
tea.xyz/gx/make: '*'
|
||||
script: |
|
||||
./configure $ARGS
|
||||
make --jobs {{hw.concurrency}} install
|
||||
env:
|
||||
ARGS:
|
||||
- --disable-Werror # fails to build due to deprecations
|
||||
- --disable-debug
|
||||
- --prefix={{prefix}}
|
||||
- --without-docs
|
||||
|
||||
test:
|
||||
dependencies:
|
||||
tea.xyz/gx/cc: c99
|
||||
freedesktop.org/pkg-config: '*'
|
||||
script: |
|
||||
cc fixture.c -lzmq
|
||||
./a.out
|
||||
pkg-config libzmq --cflags
|
||||
pkg-config libzmq --libs
|
Loading…
Reference in a new issue