Created
February 7, 2009 20:27
-
-
Save luislavena/60037 to your computer and use it in GitHub Desktop.
New RubyInstaller Recipe syntax
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# GCC Recipe | |
# | |
# Download Windows GNU GCC to be used as compiler | |
OneClick::Package.new('gcc', '3.4.5') do | |
download 'http://downloads.sourceforge.net/mingw/mingwrt-3.15.2-mingw32-dll.tar.gz' | |
download 'http://downloads.sourceforge.net/mingw/mingwrt-3.15.2-mingw32-dev.tar.gz' | |
download 'http://downloads.sourceforge.net/mingw/w32api-3.13-mingw32-dev.tar.gz' | |
download 'http://downloads.sourceforge.net/mingw/binutils-2.19.1-mingw32-bin.tar.gz' | |
download 'http://downloads.sourceforge.net/mingw/gcc-core-3.4.5-20060117-3.tar.gz' | |
download 'http://downloads.sourceforge.net/mingw/gcc-g++-3.4.5-20060117-3.tar.gz' | |
depends_on 'bootstrap' | |
# FIXME: Just a placeholder to see if package got installed right. | |
after :extract do |pkg| | |
sh File.join(pkg.source_dir, 'bin', 'gcc.exe'), '--version' | |
end | |
end | |
# gcc3 uses the version defined above | |
task 'gcc3' => ['gcc:3.4.5'] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment