2013-03-20 01:58:44 +00:00
|
|
|
class Hardlink < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "Replace file copies using hardlinks"
|
2013-03-20 01:58:44 +00:00
|
|
|
homepage "http://jak-linux.org/projects/hardlink/"
|
2014-10-23 04:48:27 +00:00
|
|
|
url "http://jak-linux.org/projects/hardlink/hardlink_0.3.0.tar.xz"
|
2015-08-03 12:55:31 +00:00
|
|
|
sha256 "e8c93dfcb24aeb44a75281ed73757cb862cc63b225d565db1c270af9dbb7300f"
|
2013-03-20 01:58:44 +00:00
|
|
|
|
2014-10-23 04:54:41 +00:00
|
|
|
bottle do
|
|
|
|
cellar :any
|
|
|
|
sha1 "620848862aa5692f5418c50158ff21ae64cbc3d7" => :yosemite
|
|
|
|
sha1 "1fc61fc57e8bdec0f49302ba75dab3e14b6b663f" => :mavericks
|
|
|
|
sha1 "ba185ba3f4bf55c9a25b2cf9bfd381e392563112" => :mountain_lion
|
|
|
|
end
|
|
|
|
|
2013-03-20 01:58:44 +00:00
|
|
|
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
|