2013-07-02 15:01:17 +00:00
|
|
|
class Npth < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "New GNU portable threads library"
|
2014-11-09 03:47:43 +00:00
|
|
|
homepage "https://gnupg.org/index.html"
|
2015-04-18 17:47:19 +00:00
|
|
|
url "ftp://ftp.gnupg.org/gcrypt/npth/npth-1.2.tar.bz2"
|
2015-05-03 19:40:19 +00:00
|
|
|
mirror "https://www.mirrorservice.org/sites/ftp.gnupg.org/gcrypt/npth/npth-1.2.tar.bz2"
|
2015-04-18 17:47:19 +00:00
|
|
|
sha256 "6ddbdddb2cf49a4723f9d1ad6563c480d6760dcb63cb7726b8fc3bc2e1b6c08a"
|
2013-07-02 15:01:17 +00:00
|
|
|
|
2014-07-01 10:48:04 +00:00
|
|
|
bottle do
|
|
|
|
cellar :any
|
2015-09-24 05:04:51 +00:00
|
|
|
sha256 "e0383072b47031a5ca5b129447fe7b0d90a161c78c0dcd91f3d398067262d469" => :el_capitan
|
2015-04-18 20:42:54 +00:00
|
|
|
sha256 "ed46e1fed9a33a4961b32fe2de844d8bbeff8f44d4863a3f2da364bb292ffa59" => :yosemite
|
|
|
|
sha256 "cc6148b47d88580a4d18efc4140ea423189333c564e11c61b8a4764a182ac766" => :mavericks
|
|
|
|
sha256 "277c3d694bda25fa805241d6c6799aaede32bf56393e7f0912a0e1e05940a4e5" => :mountain_lion
|
2014-07-01 10:48:04 +00:00
|
|
|
end
|
|
|
|
|
2013-07-02 15:01:17 +00:00
|
|
|
def install
|
|
|
|
system "./configure", "--disable-dependency-tracking",
|
2014-11-09 03:47:43 +00:00
|
|
|
"--disable-silent-rules",
|
2013-07-02 15:01:17 +00:00
|
|
|
"--prefix=#{prefix}"
|
|
|
|
system "make", "install"
|
|
|
|
end
|
2014-11-09 03:47:43 +00:00
|
|
|
|
|
|
|
test do
|
|
|
|
system "#{bin}/npth-config", "--version"
|
|
|
|
end
|
2013-07-02 15:01:17 +00:00
|
|
|
end
|