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'
|
2014-02-27 14:19:55 +00:00
|
|
|
url 'https://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}"
|
2014-08-03 01:59:09 +00:00
|
|
|
# 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"
|
2011-01-20 10:56:01 +00:00
|
|
|
end
|
2011-03-10 05:11:03 +00:00
|
|
|
end
|