{ "name": "pbzip2", "version": "1.1.13", "summary": "pbzip2: bzip2 compression and decompression on all processor cores, compatible with bzip2", "category": "tool", "license": "bzip2-1.0.6", "homepage": "https://launchpad.net/pbzip2", "source": { "url": "https://launchpad.net/pbzip2/1.1/1.1.13/+download/pbzip2-1.1.13.tar.gz", "sha256": "8fd13eaaa266f7ee91f85c1ea97c86d9c9cc985969db9059cdebcb1e1b7bdbe6" }, "watch": {"kind": "index", "url": "https://launchpad.net/pbzip2/+download", "regex": "pbzip2-([0-9]+\\.[0-9]+\\.[0-9]+)\\.tar\\.gz"}, "deps": [ "bzip2" ], "env_packages": [], "static": true, "nss": false, "check": "{ bin/pbzip2 -V 2>&1 || true; } | has 'v1.1.13' && roundtrip 'bin/pbzip2 -c -p2' 'bin/pbzip2 -dc -p2' && t=$(mktemp -d) && seq 1 200000 > \"$t/a\" && bin/pbzip2 -c -p2 -b1 \"$t/a\" | bin/bzip2 -dc | cmp - \"$t/a\" && bin/bzip2 -c \"$t/a\" | bin/pbzcat | cmp - \"$t/a\" && echo 'pbzip2: a round trip on two threads; its output read by bzip2 and the other way'" }