aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/npth.rb
blob: 8feddb25fb6c530a9a2e95d3bf0fcea8c4951f24 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
require "formula"

class Npth < Formula
  homepage "https://gnupg.org/index.html"
  url "ftp://ftp.gnupg.org/gcrypt/npth/npth-1.1.tar.bz2"
  sha1 "597ce74402e5790553a6273130b214d7ddd0b05d"

  bottle do
    cellar :any
    sha1 "9c933c021a84a1fe71531f6deda2c368c0dc3e08" => :yosemite
    sha1 "8eedb70363bbdded692e29e8021527a17b6cfd17" => :mavericks
    sha1 "0fd048150a802f5a8f9f392faf7a55ed30eb60f7" => :mountain_lion
  end

  def install
    system "./configure", "--disable-dependency-tracking",
                          "--disable-silent-rules",
                          "--prefix=#{prefix}"
    system "make", "install"
  end

  test do
    system "#{bin}/npth-config", "--version"
  end
end