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
|
|
|
homepage 'http://mpgtx.sourceforge.net'
|
2013-06-20 23:08:35 +00:00
|
|
|
url 'http://downloads.sourceforge.net/project/mpgtx/mpgtx/1.3.1/mpgtx-1.3.1.tar.gz'
|
2012-09-03 18:33:56 +00:00
|
|
|
sha1 '58b3d18b6dac968e8dd969a7b33c8a8fc31569cd'
|
2011-01-20 10:56:01 +00:00
|
|
|
|
|
|
|
def install
|
2013-01-29 04:48:06 +00:00
|
|
|
system "./configure", "--parachute",
|
|
|
|
"--prefix=#{prefix}",
|
|
|
|
"--manprefix=#{man}"
|
2011-01-20 10:56:01 +00:00
|
|
|
system "make"
|
2013-01-29 04:48:06 +00:00
|
|
|
# Overide BSD incompatible cp flags set in makefile
|
|
|
|
system "make install cpflags=RP"
|
2011-01-20 10:56:01 +00:00
|
|
|
end
|
2011-03-10 05:11:03 +00:00
|
|
|
end
|