Skip to content

Instantly share code, notes, and snippets.

@i8degrees
Created March 13, 2013 05:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save i8degrees/5149560 to your computer and use it in GitHub Desktop.
Save i8degrees/5149560 to your computer and use it in GitHub Desktop.
allegro5.0.9 homebrew formula
require 'formula'
class Allegro5 < Formula
homepage 'http://www.allegro.cc'
url 'http://downloads.sourceforge.net/project/alleg/allegro/5.0.9/allegro-5.0.9.tar.gz'
sha1 '7d05bc3d59b60a22796e9938f0b9a463c33d4b30'
depends_on 'cmake' => :build
depends_on 'libvorbis' => :optional
depends_on 'freetype' => :optional
depends_on 'flac' => :optional
depends_on 'libpng' => :optional
depends_on 'jpeg' => :optional
depends_on 'physfs' => :optional
def install
system "cmake", ".", *std_cmake_args
system "make install"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment