homebrew-core/Formula/qtplay.rb
2012-11-11 11:20:35 -08:00

18 lines
510 B
Ruby

require 'formula'
class Qtplay < Formula
homepage 'https://sites.google.com/site/rainbowflight2/'
url 'https://sites.google.com/site/rainbowflight2/qtplay1.3.1.tar.gz'
sha1 'fd7394675c972377a48c2ff8e0a774853c0be6a3'
def install
# Only a 32-bit binary is supported
system ENV.cc, "qtplay.c", "-arch", "i386", "-framework", "QuickTime", "-framework", "Carbon", "-o", "qtplay"
bin.install 'qtplay'
man1.install 'qtplay.1'
end
def test
system "#{bin}/qtplay", "--help"
end
end