aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/vgmstream.rb
diff options
context:
space:
mode:
authorAdam Vandenberg2012-02-20 22:04:21 -0800
committerAdam Vandenberg2012-02-24 21:35:50 -0800
commitd3f35542992c4978525b1eaaa0255c92f1e830e0 (patch)
tree499df60efe14b16e641247313cdd07416af1290a /Library/Formula/vgmstream.rb
parent9c77e1cefce38f2a3001ce398ad0b4dc2f668243 (diff)
downloadhomebrew-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/vgmstream.rb')
-rw-r--r--Library/Formula/vgmstream.rb11
1 files changed, 6 insertions, 5 deletions
diff --git a/Library/Formula/vgmstream.rb b/Library/Formula/vgmstream.rb
index 7bde0d4f9..d66433b09 100644
--- a/Library/Formula/vgmstream.rb
+++ b/Library/Formula/vgmstream.rb
@@ -1,18 +1,19 @@
require 'formula'
class Vgmstream < Formula
+ homepage 'http://hcs64.com/vgmstream.html'
url 'https://vgmstream.svn.sourceforge.net/svnroot/vgmstream',
:using => UnsafeSubversionDownloadStrategy, :revision => 970
- homepage 'http://hcs64.com/vgmstream.html'
version 'r970'
depends_on 'mpg123'
depends_on 'libvorbis'
def install
- Dir.chdir "test"
- system "make"
- bin.install "test" => "vgmstream"
- lib.install "../src/libvgmstream.a"
+ cd "test" do
+ system "make"
+ bin.install "test" => "vgmstream"
+ lib.install "../src/libvgmstream.a"
+ end
end
end