homebrew-core/Formula/hardlink.rb
Don Morrison 0ad5d48646 hardlink 0.2.0
Closes Homebrew/homebrew#18599.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-06-21 22:05:27 -07:00

25 lines
632 B
Ruby

require "formula"
class Hardlink < Formula
homepage "http://jak-linux.org/projects/hardlink/"
url "http://jak-linux.org/projects/hardlink/hardlink_0.2.0.tar.gz"
sha1 "6ba0fe26bbdf4feac6483550f647b4424e614cb9"
devel do
url "http://jak-linux.org/projects/hardlink/hardlink_0.3.0~rc1.tar.gz"
version "0.3.0_rc1"
sha1 "d1aa941e2fba0173cef10f5abdc8db763eac0474"
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