2011-01-20 10:56:01 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Mpgtx < Formula
|
2011-01-20 10:56:01 +00:00
|
|
|
url 'http://sourceforge.net/projects/mpgtx/files/mpgtx/1.3.1/mpgtx-1.3.1.tar.gz'
|
|
|
|
homepage 'http://mpgtx.sourceforge.net'
|
2012-09-03 18:33:56 +00:00
|
|
|
sha1 '58b3d18b6dac968e8dd969a7b33c8a8fc31569cd'
|
2011-01-20 10:56:01 +00:00
|
|
|
|
|
|
|
def install
|
|
|
|
system "./configure", "--parachute", "--prefix=#{prefix}", "--manprefix=#{man}"
|
|
|
|
system "make"
|
|
|
|
system "make install cpflags=RP" # Overide BSD incompatible cp flags set in makefile.
|
|
|
|
end
|
2011-03-10 05:11:03 +00:00
|
|
|
end
|