2014-10-04 19:27:47 +00:00
|
|
|
class Abduco < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "Provides session management: i.e. separate programs from terminals"
|
2014-10-04 19:27:47 +00:00
|
|
|
homepage "http://www.brain-dump.org/projects/abduco"
|
2016-07-12 05:19:46 +00:00
|
|
|
url "http://www.brain-dump.org/projects/abduco/abduco-0.6.tar.gz"
|
|
|
|
sha256 "c90909e13fa95770b5afc3b59f311b3d3d2fdfae23f9569fa4f96a3e192a35f4"
|
2014-10-04 19:27:47 +00:00
|
|
|
head "git://repo.or.cz/abduco.git"
|
|
|
|
|
2014-10-06 01:13:18 +00:00
|
|
|
bottle do
|
2016-02-15 22:23:46 +00:00
|
|
|
cellar :any_skip_relocation
|
2016-09-25 07:43:31 +00:00
|
|
|
sha256 "9367a86666aad4d14cecf2d7c20f897d3eb92d5cd913af43081d80b9452e19fd" => :sierra
|
2016-07-12 05:23:37 +00:00
|
|
|
sha256 "62b4673f4fba1d3c5b201b972e220a2736ec053e0c83b1369bb4e5641a71f8e4" => :el_capitan
|
|
|
|
sha256 "17338a1f1f2cace2bfb40c79d746ad60c6604555e8fb34476ec4ef9a2f68234e" => :yosemite
|
|
|
|
sha256 "1f48e0d684ba7b41768b5aa770df9c8ee716a3132d3c8043b4f7ff970c925ac5" => :mavericks
|
2014-10-06 01:13:18 +00:00
|
|
|
end
|
|
|
|
|
2014-10-04 19:27:47 +00:00
|
|
|
def install
|
2015-02-15 18:17:48 +00:00
|
|
|
ENV.append_to_cflags "-D_DARWIN_C_SOURCE"
|
2014-10-04 19:27:47 +00:00
|
|
|
system "make", "PREFIX=#{prefix}", "install"
|
|
|
|
end
|
|
|
|
|
|
|
|
test do
|
2015-02-15 18:17:48 +00:00
|
|
|
result = shell_output("#{bin}/abduco -v")
|
|
|
|
result.force_encoding("UTF-8") if result.respond_to?(:force_encoding)
|
|
|
|
assert_match /^abduco-#{version}/, result
|
2014-10-04 19:27:47 +00:00
|
|
|
end
|
|
|
|
end
|