homebrew-core/Formula/libmms.rb

24 lines
740 B
Ruby
Raw Normal View History

require 'formula'
2011-03-10 05:11:03 +00:00
class Libmms < Formula
homepage 'http://sourceforge.net/projects/libmms/'
url 'https://downloads.sourceforge.net/project/libmms/libmms/0.6.2/libmms-0.6.2.tar.gz'
sha1 'cdef62fd1a0e2585dd2111fc94b032f84290e351'
depends_on 'pkg-config' => :build
depends_on 'glib'
2014-03-14 15:03:24 +00:00
# https://trac.macports.org/ticket/27988
patch :p0 do
url "https://trac.macports.org/export/87883/trunk/dports/multimedia/libmms/files/src_mms-common.h.patch"
sha1 "57b526dc9de76cfde236d3331e18eb7ae92f999f"
end if MacOS.version <= :leopard
def install
ENV.append 'LDFLAGS', '-liconv'
2013-01-29 05:27:00 +00:00
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make install"
end
end