homebrew-core/Formula/solarus.rb

36 lines
1 KiB
Ruby
Raw Normal View History

2017-02-06 10:27:01 +00:00
class Solarus < Formula
desc "Action-RPG game engine"
homepage "http://www.solarus-games.org/"
url "http://www.solarus-games.org/downloads/solarus/solarus-1.5.3-src.tar.gz"
sha256 "7608f3bdc7baef36e95db5e4fa4c8c5be0a3f436c50c53ab72d70a92aa44cc1c"
2017-02-06 10:27:01 +00:00
head "https://github.com/christopho/solarus.git"
bottle do
cellar :any
2017-04-03 13:42:35 +00:00
sha256 "6afb8d4b5e69f2f44f9ad5df66439b98341ae9e456d081b86f8709b734b35c37" => :sierra
sha256 "ee7d849e34c9487a3b9d4499826aeb20339801978c7120f8a7919078dde93f60" => :el_capitan
sha256 "11db19b89a9f63fcc598949ee6e117d64a7b846bfe08a85d3b7a987b61b709f9" => :yosemite
2017-02-06 10:27:01 +00:00
end
depends_on "cmake" => :build
depends_on "sdl2"
depends_on "sdl2_image"
depends_on "sdl2_ttf"
depends_on "libvorbis"
depends_on "libogg"
depends_on "libmodplug"
depends_on "physfs"
depends_on "luajit"
def install
mkdir "build" do
system "cmake", "..", "-DSOLARUS_GUI=OFF", *std_cmake_args
system "make", "install"
end
end
test do
system "#{bin}/solarus-run", "-help"
end
end