homebrew-core/Formula/winetricks.rb
ilovezfs 819f2e0f04 winetricks 20170101
Closes #8399.

Signed-off-by: Tomasz Pajor <tomek@polishgeeks.com>
2017-01-02 19:36:25 +01:00

32 lines
845 B
Ruby

class Winetricks < Formula
desc "Download and install various runtime libraries"
homepage "https://github.com/Winetricks/winetricks"
url "https://github.com/Winetricks/winetricks/archive/20170101.tar.gz"
sha256 "3862ce2d94132484cb7fced13ccef6a7d1e94d75b5ee96b269d1bc45309f7b49"
head "https://github.com/Winetricks/winetricks.git"
bottle :unneeded
option "with-zenity", "Zenity is needed for GUI"
depends_on "cabextract"
depends_on "p7zip"
depends_on "unrar"
depends_on "wine"
depends_on "zenity" => [:optional, :run]
def install
bin.install "src/winetricks"
man1.install "src/winetricks.1"
end
def caveats; <<-EOS.undent
winetricks is a set of utilities for wine, which is installed separately:
brew install wine
EOS
end
test do
system "#{bin}/winetricks", "--version"
end
end