{ "name": "fpc", "version": "3.2.2", "summary": "Free Pascal compiler with its run-time library and packages", "category": "language", "license": "GPL-2.0-or-later AND LGPL-2.0-or-later WITH LicenseRef-FPC-exception", "homepage": "https://www.freepascal.org/", "source": { "url": "https://downloads.freepascal.org/fpc/dist/3.2.2/source/fpc-3.2.2.source.tar.gz", "sha256": "d542e349de246843d4f164829953d1f5b864126c5b62fd17c9b45b33e23d2f44" }, "watch": {"kind": "index", "url": "https://downloads.freepascal.org/fpc/dist/", "regex": "href=\"([0-9]+\\.[0-9]+\\.[0-9]+)/\""}, "deps": [ "binutils" ], "env_packages": [ "fp-compiler" ], "static": false, "nss": false, "check": "bin/fpc -iV | has -x 3.2.2 && t=$(mktemp -d) && cd \"$t\" && printf 'program hello;\\nbegin\\n writeln(%s);\\nend.\\n' \"'hello'\" >hello.pas && printf 'program bvs;\\nuses sysutils;\\nvar i, s: integer;\\nbegin\\n s := 0;\\n for i := 1 to 6 do s := s + i * 2;\\n writeln(IntToStr(s));\\nend.\\n' >bvs.pas && HOME=\"$t\" \"$PREFIX/bin/fpc\" -vt hello.pas >hello.log && has -E '^Reading options from file /.*/lib/fpc/etc/fpc[.]cfg$' /dev/null && ./bvs | has -x 42 && echo 'fpc 3.2.2: read lib/fpc/etc/fpc.cfg by itself, compiled hello.pas and a program with sysutils that printed 42'" }