aboutsummaryrefslogtreecommitdiffstats
path: root/Formula/libogg.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Formula/libogg.rb')
-rw-r--r--Formula/libogg.rb15
1 files changed, 8 insertions, 7 deletions
diff --git a/Formula/libogg.rb b/Formula/libogg.rb
index 28a1d84d1..178835342 100644
--- a/Formula/libogg.rb
+++ b/Formula/libogg.rb
@@ -1,11 +1,12 @@
-$:.unshift "#{File.dirname __FILE__}/../Cellar/homebrew" #rubysucks
require 'brewkit'
-homepage='http://www.xiph.org/ogg/'
-url='http://downloads.xiph.org/releases/ogg/libogg-1.1.3.tar.gz'
-md5='eaf7dc6ebbff30975de7527a80831585'
+class Libogg <Formula
+ @homepage='http://www.xiph.org/ogg/'
+ @url='http://downloads.xiph.org/releases/ogg/libogg-1.1.3.tar.gz'
+ @md5='eaf7dc6ebbff30975de7527a80831585'
-Formula.new(url, md5).brew do |prefix|
- system "./configure --disable-debug --prefix='#{prefix}'"
- system "make install"
+ def install
+ system "./configure --disable-debug --prefix='#{prefix}'"
+ system "make install"
+ end
end \ No newline at end of file