diff options
Diffstat (limited to 'homebrew/mingww64/.beer')
-rw-r--r-- | homebrew/mingww64/.beer | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/homebrew/mingww64/.beer b/homebrew/mingww64/.beer new file mode 100644 index 000000000..f5e9ec721 --- /dev/null +++ b/homebrew/mingww64/.beer @@ -0,0 +1,60 @@ +{ + "name": "MingwW64", + "description": "Minimalist GNU for Windows and GCC cross-compilers", + "url": "https://downloads.sourceforge.net/project/mingw-w64/mingw-w64/mingw-w64-release/mingw-w64-v6.0.0.tar.bz2", + "mirror": null, + "homepage": "https://mingw-w64.org/", + "depends": [ + { + "depend": "texinfo", + "build-depend": true + }, + { + "depend": "gmp", + "build-depend": false + }, + { + "depend": "isl", + "build-depend": false + }, + { + "depend": "libmpc", + "build-depend": false + }, + { + "depend": "mpfr", + "build-depend": false + } + ], + "resource": [ + { + "name": "binutils", + "url": "https://ftp.gnu.org/gnu/binutils/binutils-2.32.tar.xz" + }, + { + "name": "gcc", + "url": "https://ftp.gnu.org/gnu/gcc/gcc-8.3.0/gcc-8.3.0.tar.xz" + } + ], + "conflicts": [], + "patches": [], + "install": [ + "target_archs.each do |arch|", + "arch_dir = \"#{prefix}/toolchain-#{arch}\"", + "target = \"#{arch}-w64-mingw32\"", + "resource(\"binutils\").stage do", + "args = %W[", + "--target=#{target}", + "--with-sysroot=#{arch_dir}", + "--prefix=#{arch_dir}", + "--enable-targets=#{target}", + "--disable-multilib", + "]", + "mkdir \"build-#{arch}\" do", + "system \"../configure\", *args", + "system \"make\"", + "system \"make\", \"install\"" + ], + "version": "6.0.0", + "file": "mingw-w64.rb" +}
\ No newline at end of file |