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

29 lines
638 B
YAML

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 }}"