homebrew-core/Formula/mpgtx.rb
Miguel Araújo 957b120c63 mpgtx: fix audit
mpgtx:
  * Use `system "make", "install", "cpflags=RP"` instead of `system "make install cpflags=RP"`
  * http://mpgtx.sourceforge.net should be `https://mpgtx.sourceforge.io/`
2017-02-12 16:19:07 +00:00

24 lines
1 KiB
Ruby

class Mpgtx < Formula
desc "Toolbox to manipulate MPEG files"
homepage "https://mpgtx.sourceforge.io/"
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 "70e1dfed0338fb8b8cda36ca05e05b8cd3fd456782db58408b18bbf2361f09aa" => :sierra
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