aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/libmpq.rb
blob: 26d3ba08e31b082d2c5599bfd83a09298bca0939 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
require 'formula'

class Libmpq < Formula
  # libmpq.org has seen prolonged downtime
  head 'https://github.com/ge0rg/libmpq.git'
  homepage 'https://github.com/ge0rg/libmpq'

  def install
    # on OS X, it's 'glibtoolize'
    inreplace 'autogen.sh', 'libtoolize', 'glibtoolize'
    system "./autogen.sh"
    system "./configure", "--disable-debug", "--disable-dependency-tracking",
                          "--prefix=#{prefix}",
                          "--mandir=#{man}"
    system "make install"
  end
end