Closes Homebrew/homebrew#26091.
Closes Homebrew/homebrew#22239.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
Baptiste Fontaine 2014-01-22 15:14:32 +01:00 committed by Adam Vandenberg
parent c24714d215
commit 182339a6c0

18
Formula/sfml.rb Normal file
View file

@ -0,0 +1,18 @@
require "formula"
class Sfml < Formula
homepage "http://www.sfml-dev.org/"
url "http://www.sfml-dev.org/download/sfml/2.1/SFML-2.1-sources.zip"
sha1 "c27bdffdc4bedb5f6a20db03ceca715d42aa5752"
depends_on "cmake" => :build
depends_on "freetype"
depends_on "glew"
depends_on "jpeg"
depends_on "libsndfile"
def install
system "cmake", ".", "-DCMAKE_INSTALL_FRAMEWORK_PREFIX=#{prefix}/Frameworks/", *std_cmake_args
system "make", "install"
end
end