homebrew-core/Formula/mpgtx.rb
2015-06-05 14:47:57 +01:00

18 lines
597 B
Ruby

require 'formula'
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'
sha1 '58b3d18b6dac968e8dd969a7b33c8a8fc31569cd'
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