2011-02-19 04:31:19 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Xsw < Formula
|
2011-02-19 04:31:19 +00:00
|
|
|
homepage 'http://code.google.com/p/xsw/'
|
2013-01-27 23:23:20 +00:00
|
|
|
url 'http://xsw.googlecode.com/files/xsw-0.3.5.tar.gz'
|
2011-02-19 04:31:19 +00:00
|
|
|
sha1 'fe4cffcc8bcd3149f4ecbf2011ad78a8ab7f1dd4'
|
|
|
|
|
|
|
|
depends_on 'sdl'
|
|
|
|
depends_on 'sdl_ttf'
|
|
|
|
depends_on 'sdl_image'
|
|
|
|
depends_on 'sdl_gfx'
|
|
|
|
|
|
|
|
def install
|
|
|
|
system "./configure", "--prefix=#{prefix}"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|