homebrew-core/Formula/cdk.rb

24 lines
823 B
Ruby
Raw Normal View History

class Cdk < Formula
desc "Curses development kit provides predefined curses widget for apps"
homepage "http://invisible-island.net/cdk/"
url "ftp://invisible-island.net/cdk/cdk-5.0-20141106.tgz"
version "5.0.20141106"
sha256 "d7ce8d9698b4998fa49a63b6e19309d3eb61cc3a019bfc95101d845ef03c4803"
2015-02-14 22:21:23 +00:00
bottle do
cellar :any
2015-11-19 15:45:31 +00:00
sha256 "ffd31d6fbe4d2ba6995c0d405a86988e7746683624a6247821bd81d8d9981ada" => :yosemite
sha256 "558928d85f0ce838cf2995f7106249988e7a3ffdad8bceb006909cc0e176ec95" => :mavericks
sha256 "b8eeb47d460bfaaeb9a398b8f23ef0905afabacf81fcf2c7d2860e15701e23ec" => :mountain_lion
2015-02-14 22:21:23 +00:00
end
def install
system "./configure", "--prefix=#{prefix}", "--with-ncurses"
system "make", "install"
end
test do
assert_match "#{lib}", shell_output("#{bin}/cdk5-config --libdir")
end
end