Skip to content

Instantly share code, notes, and snippets.

@levicook
Created October 28, 2013 15:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save levicook/7198889 to your computer and use it in GitHub Desktop.
Save levicook/7198889 to your computer and use it in GitHub Desktop.
require 'formula'
class Tidy < Formula
homepage 'http://tidy.sourceforge.net/'
url 'ftp://mirror.internode.on.net/pub/gentoo/distfiles/tidy-20090325.tar.bz2'
sha1 '28c000a2cd40262fc0d7c2c429eb2a09b2df7bf4'
head 'https://github.com/w3c/tidy-html5.git'
depends_on :automake => :build
depends_on :libtool => :build
def install
system 'sh', 'build/gnuauto/setup.sh'
system "./configure", "--disable-debug",
"--disable-dependency-tracking",
"--prefix=#{prefix}",
"--mandir=#{man}"
system "make", "install"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment