pantry/projects/apache.org/apr-util/package.yml

30 lines
638 B
YAML
Raw Normal View History

distributable:
url: https://dlcdn.apache.org/apr/apr-util-{{ version }}.tar.bz2
strip-components: 1
versions:
github: apache/apr-util/tags
provides:
- bin/apu-{{ version.major }}-config
build:
dependencies:
apache.org/apr: '*'
openssl.org: '*'
libexpat.github.io: '*'
sqlite.org: '*'
script: |
./configure $ARGS
make --jobs {{ hw.concurrency }}
make install
env:
ARGS:
- --prefix="{{ prefix }}"
- --with-apr="{{ deps.apache.org/apr.prefix }}"
- --includedir="{{prefix}}/include"
test:
script: |
test "$(apu-{{ version.major }}-config --version)" = "{{ version }}"