Created
          February 7, 2009 21:19 
        
      - 
      
- 
        Save luislavena/60053 to your computer and use it in GitHub Desktop. 
    New RubyInstaller MSYS Recipe
  
        
  
    
      This file contains hidden or 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
    
  
  
    
  | OneClick::Package.new('msys', '1.0.11') do | |
| # MSYS core and updated packages | |
| download 'http://downloads.sourceforge.net/mingw/msysCORE-1.0.11-20080826.tar.gz' | |
| download 'http://downloads.sourceforge.net/mingw/findutils-4.3.0-MSYS-1.0.11-3-bin.tar.gz' | |
| download 'http://downloads.sourceforge.net/mingw/MSYS-1.0.11-20090120-dll.tar.gz' | |
| download 'http://downloads.sourceforge.net/mingw/tar-1.19.90-MSYS-1.0.11-2-bin.tar.gz' | |
| # This action will be executed every time the package is invoked | |
| # (by dependency or directly) | |
| after :extract do |pkg| | |
| sh File.join(pkg.source_dir, 'bin', 'make.exe'), '--version' | |
| end | |
| # This action will only be executed once, since is marked as persistent | |
| after :extract, :persist => true do |pkg| | |
| # ... | |
| end | |
| end | |
| # MSYS uses version defined above | |
| task 'msys' => ['msys:1.0.11'] | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment