Skip to content

Instantly share code, notes, and snippets.

@teawithfruit
Last active August 29, 2015 14:24
Show Gist options
  • Save teawithfruit/016d66851a6342b83e03 to your computer and use it in GitHub Desktop.
Save teawithfruit/016d66851a6342b83e03 to your computer and use it in GitHub Desktop.
Tidy5 script for Homebrew
class TidyHtml5 < Formula
desc ""
homepage ""
url "https://github.com/htacg/tidy-html5/archive/5.0.0.RC1.tar.gz"
version "1"
sha256 "3b1f51ec0d445af99f9c36c46a621b6374a3ea22866d29375e3af5d8d0e960b2"
depends_on "cmake" => :build
def install
cd "build/cmake"
system "cmake", "../..", *std_cmake_args
system "make"
system "make", "install"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment