2013-03-20 01:58:44 +00:00
|
|
|
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
|
2014-02-12 04:34:47 +00:00
|
|
|
url "http://jak-linux.org/projects/hardlink/hardlink_0.3.0~rc2.tar.gz"
|
|
|
|
version "0.3.0_rc2"
|
|
|
|
sha1 "0a55a96a79839f668ca392cc0a11fa521044807d"
|
2013-03-20 01:58:44 +00:00
|
|
|
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
|