{ "name": "libmaxminddb", "version": "1.14.1", "summary": "MaxMind DB reader library (.mmdb files of DB-IP and MaxMind) and mmdblookup", "category": "library", "license": "Apache-2.0", "homepage": "https://github.com/maxmind/libmaxminddb", "source": { "url": "https://github.com/maxmind/libmaxminddb/releases/download/1.14.1/libmaxminddb-1.14.1.tar.gz", "sha256": "ca5c87d41339f8bc4daabb53e8a9356b3c995f2d2419b85d7bff823b2ecc252d" }, "watch": {"kind": "github-release", "repo": "maxmind/libmaxminddb", "tag_regex": "^([0-9]+(?:\\.[0-9]+)+[a-z]?[0-9]*)$"}, "deps": [], "env_packages": [], "static": true, "nss": true, "check": "v=$(bin/mmdblookup --version | sed -n 's/^ *mmdblookup version //p') && [ \"$v\" = 1.14.1 ] && check_static bin/mmdblookup && mmdb_one \"$TMPDIR/one.mmdb\" && bin/mmdblookup --file \"$TMPDIR/one.mmdb\" --ip 127.0.0.1 country iso_code | has -F '\"PL\" ' && { bin/mmdblookup --file \"$TMPDIR/one.mmdb\" --ip 128.0.0.1 > \"$TMPDIR/miss\" 2>&1; has -F 'Could not find an entry' < \"$TMPDIR/miss\"; } && check_lib libmaxminddb maxminddb.h 'return strcmp(MMDB_lib_version(), \"1.14.1\") != 0;' && echo \"libmaxminddb $v: 127.0.0.1 found (PL) and 128.0.0.1 not found in a one-network database, MMDB_lib_version\"" }