{ "name": "zlib", "version": "1.3.2", "summary": "The deflate compression library (libz)", "category": "library", "license": "Zlib", "homepage": "https://zlib.net/", "source": { "url": "https://github.com/madler/zlib/releases/download/v1.3.2/zlib-1.3.2.tar.gz", "sha256": "bb329a0a2cd0274d05519d61c667c062e06990d72e125ee2dfa8de64f0119d16" }, "watch": {"kind": "github-release", "repo": "madler/zlib", "tag_regex": "^v([0-9]+(?:\\.[0-9]+)+[a-z]?[0-9]*)$"}, "deps": [], "env_packages": [], "static": true, "nss": false, "check": "check_lib zlib zlib.h 'unsigned char in[4096], z[8192], out[4096]; uLongf zl = sizeof z, ol = sizeof out; memset(in, 98, sizeof in); if (compress2(z, &zl, in, sizeof in, 9) != Z_OK || zl >= sizeof in) return 1; if (uncompress(out, &ol, z, zl) != Z_OK || ol != sizeof in || memcmp(in, out, ol)) return 1; printf(\"zlib %s: 4096 -> %lu -> %lu bytes\\n\", zlibVersion(), (unsigned long)zl, (unsigned long)ol)'" }