homebrew-core/Formula/libmms.rb

31 lines
972 B
Ruby
Raw Normal View History

2014-05-18 18:00:07 +00:00
require "formula"
2011-03-10 05:11:03 +00:00
class Libmms < Formula
2014-05-18 18:00:07 +00:00
homepage "http://sourceforge.net/projects/libmms/"
url "https://downloads.sourceforge.net/project/libmms/libmms/0.6.4/libmms-0.6.4.tar.gz"
sha1 "b03ef84a9eedc68fdf2866265b667b75e1a33bee"
2014-07-03 19:34:34 +00:00
bottle do
cellar :any
sha1 "1cd72a029405e29646813c3fe332c65065bb9f3b" => :mavericks
sha1 "ce77a403bda4b35b5aa47faf95fe0a88d3dd6799" => :mountain_lion
sha1 "0cbec23db83d8c91ac3c146c8e499ee06148c39a" => :lion
end
2014-05-18 18:00:07 +00:00
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
2014-05-18 18:00:07 +00:00
ENV.append "LDFLAGS", "-liconv"
2013-01-29 05:27:00 +00:00
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make install"
end
end