17 lines
378 B
Ruby
17 lines
378 B
Ruby
require 'formula'
|
|
|
|
class Xsw < Formula
|
|
homepage 'http://code.google.com/p/xsw/'
|
|
url 'http://xsw.googlecode.com/files/xsw-0.3.5.tar.gz'
|
|
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
|