homebrew-core/Formula/hardlink.rb

27 lines
699 B
Ruby
Raw Normal View History

require "formula"
class Hardlink < Formula
homepage "http://jak-linux.org/projects/hardlink/"
url "http://jak-linux.org/projects/hardlink/hardlink_0.3.0.tar.xz"
sha1 "abe9964d104b124b8dbebe6f354691e884f1fa2c"
2014-10-23 04:54:41 +00:00
bottle do
cellar :any
sha1 "620848862aa5692f5418c50158ff21ae64cbc3d7" => :yosemite
sha1 "1fc61fc57e8bdec0f49302ba75dab3e14b6b663f" => :mavericks
sha1 "ba185ba3f4bf55c9a25b2cf9bfd381e392563112" => :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