allegro 4.4.1

Signed-off-by: Adam Vandenberg <flangy@gmail.com>

* Add optional dependency.
This commit is contained in:
鲁痴 authored and Adam Vandenberg committed 2010-04-05 17:00:12 -07:00
1 parent 49b3b7d262
commit fafdb1cd38
1 file changed
+15
+15
View File
@@ -0,0 +1,15 @@
require 'formula'
class Allegro <Formula
url 'http://downloads.sourceforge.net/project/alleg/allegro/4.4.1.1/allegro-4.4.1.1.tar.gz'
homepage 'http://www.allegro.cc'
md5 '0f1cfff8f2cf88e5c91a667d9fd386ec'
depends_on 'cmake'
depends_on 'libvorbis' => :optional
def install
system "cmake . #{std_cmake_parameters}"
system "make install"
end
end