mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-01 22:31:19 +00:00
36 lines
1.2 KiB
JSON
36 lines
1.2 KiB
JSON
{
|
|
"version": "11.2.0",
|
|
"description": "GNU Compiler Collection and binutils",
|
|
"homepage": "https://www.gnu.org/software/gcc/",
|
|
"license": "GPL-3.0-or-later",
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://nuwen.net/files/mingw/components-18.0.7z",
|
|
"hash": "50b7bddbceda793098f2fed3a249fb02911f4a46c5d9a2e6c77079fa7e40b2ad"
|
|
}
|
|
},
|
|
"extract_dir": "components-18.0",
|
|
"pre_install": [
|
|
"Expand-7ZipArchive \"$dir\\binutils-*.7z\" \"$dir\"",
|
|
"Expand-7ZipArchive \"$dir\\mingw-w64+gcc.7z\" \"$dir\"",
|
|
"Get-ChildItem \"$dir\\*.7z\" | Remove-Item -Recurse -Force"
|
|
],
|
|
"env_add_path": "bin",
|
|
"env_set": {
|
|
"C_INCLUDE_PATH": "$dir\\include",
|
|
"CPLUS_INCLUDE_PATH": "$dir\\include"
|
|
},
|
|
"checkver": {
|
|
"url": "https://nuwen.net/mingw.html",
|
|
"regex": "(?sm)>GCC ([\\d.]+)</a>.*?components-(?<components>[\\d.]+).7z"
|
|
},
|
|
"autoupdate": {
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://nuwen.net/files/mingw/components-$matchComponents.7z"
|
|
}
|
|
},
|
|
"extract_dir": "components-$matchComponents"
|
|
}
|
|
}
|