homebrew-core/Formula/winetricks.rb
ilovezfs 4e08ceb326 winetricks 20160724
Closes #3286.

Signed-off-by: ilovezfs <ilovezfs@icloud.com>
2016-07-25 01:34:55 -07: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/20160724.tar.gz"
sha256 "dbacdbc241a2bc55b0174ff06f828528bbc2bbf0a0d15c077f75d2f6acda8186"
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