homebrew-core/Formula/mpgtx.rb

18 lines
555 B
Ruby
Raw Normal View History

require 'formula'
2011-03-10 05:11:03 +00:00
class Mpgtx < Formula
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
2013-01-29 04:48:06 +00:00
system "./configure", "--parachute",
"--prefix=#{prefix}",
"--manprefix=#{man}"
# Unset LFLAGS, "-s" causes the linker to crash
system "make", "LFLAGS="
2013-01-29 04:48:06 +00:00
# Overide BSD incompatible cp flags set in makefile
system "make install cpflags=RP"
end
2011-03-10 05:11:03 +00:00
end