mirror of
https://github.com/mistydemeo/tigerbrew.git
synced 2026-11-27 03:19:46 -05:00
I also removed an unnecessary invocation of `sh`. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
18 lines
512 B
Ruby
18 lines
512 B
Ruby
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
|