homebrew-core/Formula/mikmod.rb
Ted Pennings 4cd0935be7 Convert all 'def test' formulae to 'test do'
Closes Homebrew/homebrew#26942.
Closes Homebrew/homebrew#26946.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2014-02-24 19:54:02 -08:00

20 lines
515 B
Ruby

require 'formula'
class Mikmod < Formula
homepage 'http://mikmod.raphnet.net/'
url 'http://sourceforge.net/projects/mikmod/files/mikmod/3.2.5/mikmod-3.2.5.tar.gz'
sha1 '2c4d2abac01af37c45db2b92b74636dce36eba31'
depends_on 'libmikmod'
def install
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--mandir=#{man}"
system "make install"
end
test do
system "#{bin}/mikmod", "-V"
end
end