From bd2cebe9db64d9e4ee7cbf00c6a5647276a11db6 Mon Sep 17 00:00:00 2001 From: andrejrabcenko Date: Sun, 7 May 2023 00:58:16 +0300 Subject: [PATCH] new file: projects/github.com/maxmind/libmaxminddb/package.yml --- .../maxmind/libmaxminddb/package.yml | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 projects/github.com/maxmind/libmaxminddb/package.yml diff --git a/projects/github.com/maxmind/libmaxminddb/package.yml b/projects/github.com/maxmind/libmaxminddb/package.yml new file mode 100644 index 00000000..f10ecfa0 --- /dev/null +++ b/projects/github.com/maxmind/libmaxminddb/package.yml @@ -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}} \ No newline at end of file