homebrew-core/Formula/winetricks.rb
2015-06-05 14:47:57 +01:00

27 lines
733 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/20150316.tar.gz"
sha256 "c49d33b444bf8327930d94e3b20ca9c939f7ec886999e7e9c37f5bdf3f5cac67"
head "https://github.com/Winetricks/winetricks.git"
depends_on "cabextract"
depends_on "p7zip"
depends_on "unrar"
depends_on "wine"
def install
bin.install "src/winetricks"
man1.install "src/winetricks.1"
end
test do
system "#{bin}/winetricks", "dlls", "list"
end
def caveats; <<-EOS.undent
winetricks is a set of utilities for wine, which is installed separately:
brew install wine
EOS
end
end