homebrew-core/Formula/abduco.rb
2017-09-22 00:34:21 +02:00

27 lines
1.1 KiB
Ruby

class Abduco < Formula
desc "Provides session management: i.e. separate programs from terminals"
homepage "http://www.brain-dump.org/projects/abduco"
url "http://www.brain-dump.org/projects/abduco/abduco-0.6.tar.gz"
sha256 "c90909e13fa95770b5afc3b59f311b3d3d2fdfae23f9569fa4f96a3e192a35f4"
head "git://repo.or.cz/abduco.git"
bottle do
cellar :any_skip_relocation
sha256 "8ca092b6fd5a6ad39e3c91186421bca2943af6bfdbae4ea95254b36d1e109a78" => :high_sierra
sha256 "9367a86666aad4d14cecf2d7c20f897d3eb92d5cd913af43081d80b9452e19fd" => :sierra
sha256 "62b4673f4fba1d3c5b201b972e220a2736ec053e0c83b1369bb4e5641a71f8e4" => :el_capitan
sha256 "17338a1f1f2cace2bfb40c79d746ad60c6604555e8fb34476ec4ef9a2f68234e" => :yosemite
sha256 "1f48e0d684ba7b41768b5aa770df9c8ee716a3132d3c8043b4f7ff970c925ac5" => :mavericks
end
def install
ENV.append_to_cflags "-D_DARWIN_C_SOURCE"
system "make", "PREFIX=#{prefix}", "install"
end
test do
result = shell_output("#{bin}/abduco -v")
result.force_encoding("UTF-8") if result.respond_to?(:force_encoding)
assert_match /^abduco-#{version}/, result
end
end