blob: 0ee6d11e48462c61095d1298c844d639533e3d6c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
  | 
require 'formula'
class Smpeg < Formula
  homepage 'http://icculus.org/smpeg/'
  head 'svn://svn.icculus.org/smpeg/trunk'
  depends_on :automake
  depends_on :libtool
  depends_on 'pkg-config' => :build
  depends_on 'sdl'
  def install
    system "./autogen.sh"
    system "./configure", "--disable-debug", "--disable-dependency-tracking",
                          "--prefix=#{prefix}",
                          "--disable-gtktest",
                          "--disable-sdltest"
    system "make"
    # Install script is not +x by default for some reason
    system "chmod +x ./install-sh"
    system "make install"
  end
end
  |