homebrew-core/Formula/mpgtx.rb
2016-04-15 13:53:46 +08:00

23 lines
931 B
Ruby

class Mpgtx < Formula
desc "Toolbox to manipulate MPEG files"
homepage "http://mpgtx.sourceforge.net"
url "https://downloads.sourceforge.net/project/mpgtx/mpgtx/1.3.1/mpgtx-1.3.1.tar.gz"
sha256 "8815e73e98b862f12ba1ef5eaaf49407cf211c1f668c5ee325bf04af27f8e377"
bottle do
cellar :any_skip_relocation
sha256 "566ce06d938b4e3b7886a729d456bd3034325985acbdb5e21355b076d7acccf5" => :el_capitan
sha256 "dbe21236b1f2ae76dca4be4fa259c9dd902d2b109a6f0f0549cc7f6463945d06" => :yosemite
sha256 "a9b32ab7e68133b508d9f919a740ed279567e1b68d3d9a72e0a50013a1029b11" => :mavericks
end
def install
system "./configure", "--parachute",
"--prefix=#{prefix}",
"--manprefix=#{man}"
# Unset LFLAGS, "-s" causes the linker to crash
system "make", "LFLAGS="
# Overide BSD incompatible cp flags set in makefile
system "make install cpflags=RP"
end
end