homebrew-core/Formula/cdk.rb

24 lines
836 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-20160131.tgz"
version "5.0.20160131"
sha256 "c32d075806c231b96ca3778bd24132c7aa0ba9a126f3cebb8a16c59a8b132c22"
2015-02-14 22:21:23 +00:00
bottle do
2016-02-23 16:38:46 +00:00
cellar :any_skip_relocation
2016-06-24 11:30:31 +00:00
sha256 "44d59e8d469fb3232f12b8cd3c8c84f2c30fbe874d911403164811b41a77d633" => :el_capitan
sha256 "308bde479ebe6315c3a5309e12b4606bc36a43719aff815e787a904fabdd5877" => :yosemite
sha256 "e974e6af5cd57bbab511884ca0c0df82155303d4e94f40d1bcb9aa55a65703c5" => :mavericks
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.to_s, shell_output("#{bin}/cdk5-config --libdir")
end
end