Skip to content

Commit

Permalink
SFML 2.1
Browse files Browse the repository at this point in the history
Closes Homebrew/legacy-homebrew#26091.
Closes Homebrew/legacy-homebrew#22239.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
  • Loading branch information
bfontaine authored and adamv committed Mar 6, 2014
1 parent c24714d commit 182339a
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions Formula/sfml.rb
@@ -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

0 comments on commit 182339a

Please sign in to comment.