new file: projects/github.com/maxmind/libmaxminddb/package.yml

This commit is contained in:
andrejrabcenko 2023-05-07 00:58:16 +03:00 committed by Jacob Heider
parent efb673b6c8
commit bd2cebe9db

View file

@ -0,0 +1,28 @@
distributable:
url: https://github.com/maxmind/libmaxminddb/releases/download/{{version}}/libmaxminddb-{{version}}.tar.gz
strip-components: 1
versions:
github: maxmind/libmaxminddb
build:
dependencies:
tea.xyz/gx/cc: c99
tea.xyz/gx/make: '*'
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}}