2010-09-26 04:11:22 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Libming < Formula
|
2010-09-26 04:11:22 +00:00
|
|
|
url 'https://sourceforge.net/projects/ming/files/Releases/Ming%200.4.3/ming-0.4.3.tar.bz2'
|
|
|
|
md5 'db6bae65d000e2f2ac78583fd453f99a'
|
|
|
|
homepage 'http://www.libming.org'
|
|
|
|
|
2012-06-07 01:35:12 +00:00
|
|
|
depends_on :libpng
|
2010-09-26 04:11:22 +00:00
|
|
|
|
2012-06-07 01:35:12 +00:00
|
|
|
def install
|
2010-09-26 04:11:22 +00:00
|
|
|
# TODO: Libming also includes scripting front-ends for Perl, Python, TCL
|
|
|
|
# and PHP. These are disabled by default. Figure out what it would take to
|
|
|
|
# enable them.
|
|
|
|
system "./configure", "--prefix=#{prefix}", "--disable-debug",
|
|
|
|
"--disable-dependency-tracking"
|
|
|
|
system "make"
|
|
|
|
|
|
|
|
# Won't install in parallel for some reason.
|
|
|
|
ENV.deparallelize
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|