pantry/projects/zeromq.org/package.yml
Max Howell 81e7a5e16f
pkgx
2023-10-01 14:44:42 -04:00

28 lines
585 B
YAML

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:
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:
freedesktop.org/pkg-config: '*'
script: |
cc fixture.c -lzmq
./a.out
pkg-config libzmq --cflags
pkg-config libzmq --libs