diff options
| author | Adam Vandenberg | 2012-02-20 22:04:21 -0800 |
|---|---|---|
| committer | Adam Vandenberg | 2012-02-24 21:35:50 -0800 |
| commit | d3f35542992c4978525b1eaaa0255c92f1e830e0 (patch) | |
| tree | 499df60efe14b16e641247313cdd07416af1290a /Library/Formula/libmikmod.rb | |
| parent | 9c77e1cefce38f2a3001ce398ad0b4dc2f668243 (diff) | |
| download | homebrew-d3f35542992c4978525b1eaaa0255c92f1e830e0.tar.bz2 | |
Use "cd" instead of "Dir.chdir"
* And "mkdir" isntead of "Dir.mkdir"
* And "Dir[]" instead of "Dir.glob"
* Also style fixes and nitpicks
Diffstat (limited to 'Library/Formula/libmikmod.rb')
| -rw-r--r-- | Library/Formula/libmikmod.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Library/Formula/libmikmod.rb b/Library/Formula/libmikmod.rb index cd55ee651..cf3e34196 100644 --- a/Library/Formula/libmikmod.rb +++ b/Library/Formula/libmikmod.rb @@ -1,12 +1,12 @@ require 'formula' class Libmikmod < Formula - url 'https://github.com/mistydemeo/libmikmod.git', :tag => '446324a45a6d165b1941a4758f6cd221301b479e' homepage 'http://mikmod.raphnet.net/' + url 'https://github.com/mistydemeo/libmikmod.git', :tag => '446324a45a6d165b1941a4758f6cd221301b479e' version '3.2.0b2' def options - [[ '--with-debug', 'Enable debugging symbols and build without optimization' ]] + [[ '--with-debug', 'Enable debugging symbols and build without optimization']] end def patches @@ -68,8 +68,8 @@ class Libmikmod < Formula # autoreconf w/glibtoolize will fix PIC flags, flat_namespace from 2005 era code. system "autoreconf -ivf" # An oos build is recommended in the documentation. - Dir.mkdir 'macbuild' - Dir.chdir 'macbuild' do + mkdir 'macbuild' + cd 'macbuild' do system "../configure", *args system "make" system "make install" |
