class Hardlink < Formula desc "Replace file copies using hardlinks" homepage "http://jak-linux.org/projects/hardlink/" url "http://jak-linux.org/projects/hardlink/hardlink_0.3.0.tar.xz" sha256 "e8c93dfcb24aeb44a75281ed73757cb862cc63b225d565db1c270af9dbb7300f" bottle do cellar :any sha256 "36c30ed90a3d2b9d2d4d07cb182c2838dfba276a05c22d022a42e16043e86f02" => :yosemite sha256 "cba1b82474c668bbb36e2e56cf7b36685924592d291dc05067d7c4a605686084" => :mavericks sha256 "733b12fdaffb5b2dd0f5d87394eaf058ce4a621d3234dca2b18a9487c1d487f2" => :mountain_lion end depends_on "pkg-config" => :build depends_on "gnu-getopt" depends_on "pcre" def install system "make", "PREFIX=#{prefix}", "MANDIR=#{man}", "BINDIR=#{bin}", "install" end test do system "#{bin}/hardlink", "--help" end end