pantry/projects/github.com/maxmind/libmaxminddb/package.yml
Max Howell 81e7a5e16f
pkgx
2023-10-01 14:44:42 -04:00

26 lines
560 B
YAML

distributable:
url: https://github.com/maxmind/libmaxminddb/releases/download/{{version}}/libmaxminddb-{{version}}.tar.gz
strip-components: 1
versions:
github: maxmind/libmaxminddb
build:
dependencies:
gnu.org/autoconf: '*'
gnu.org/libtool: '*'
script: |
./configure $ARGS
make --jobs {{ hw.concurrency }} install
env:
ARGS:
- --prefix="{{prefix}}"
- --disable-debug
- --disable-dependency-tracking
- --disable-silent-rules
provides:
- bin/mmdblookup
test:
mmdblookup --version | grep {{version}}