{ "name": "binutils", "version": "2.47", "summary": "GNU binutils: as, ld, objdump, readelf, nm, strip, ar and more", "category": "core", "license": "GPL-3.0-or-later", "homepage": "https://www.gnu.org/software/binutils/", "source": { "url": "https://mirrors.kernel.org/gnu/binutils/binutils-2.47.tar.xz", "sha256": "154ab23b60070e8f27013c22977f1129425d67d1e8acd6e13010e617811e4cff" }, "watch": {"kind": "index", "url": "https://mirrors.kernel.org/gnu/binutils/", "regex": "binutils-([0-9]+(?:\\.[0-9]+)+[a-z]?[0-9]*)\\.tar\\.xz"}, "deps": [ "zlib" ], "env_packages": [], "static": true, "nss": true, "check": "bin/ld --version | first && t=$(mktemp -d) && printf '.text\\n.globl _start\\n_start:\\n nop\\n' >\"$t/a.s\" && bin/as -o \"$t/a.o\" \"$t/a.s\" && bin/ld -o \"$t/a\" \"$t/a.o\" && bin/objdump -d \"$t/a\" | has -w nop && bin/readelf -h \"$t/a\" | has 'EXEC' && bin/nm \"$t/a\" | has -w _start" }