2011-09-15 13:05:25 +00:00
|
|
|
class Ape < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "Ajax Push Engine"
|
2014-11-08 02:03:47 +00:00
|
|
|
homepage "http://www.ape-project.org/"
|
|
|
|
url "https://github.com/APE-Project/APE_Server/archive/v1.1.2.tar.gz"
|
2015-08-03 12:55:31 +00:00
|
|
|
sha256 "c5f6ec0740f20dd5eb26c223149fc4bade3daadff02a851e2abb7e00be97db42"
|
2013-03-28 20:46:43 +00:00
|
|
|
|
2014-11-08 02:54:26 +00:00
|
|
|
bottle do
|
2016-02-23 11:52:50 +00:00
|
|
|
cellar :any_skip_relocation
|
2016-09-26 19:01:58 +00:00
|
|
|
sha256 "dd095fa1465e0a20613481720e26a5917c08882b340a18ab4d351a95e5eb3a3e" => :sierra
|
2016-02-23 11:52:50 +00:00
|
|
|
sha256 "259b19e211ff6d6ffc376db0b3696a912a6ac48dca83cbcbe525c78e56755c82" => :el_capitan
|
2015-11-19 15:45:31 +00:00
|
|
|
sha256 "3859216e566e6faaccc7183d737527dd4785260a698c8344520e7951baebca76" => :yosemite
|
|
|
|
sha256 "83c7ef23309dec2e7bd4bec3ae75b6f0e04fcfecbda489c90810b6948eb3bb28" => :mavericks
|
|
|
|
sha256 "136d65f58cb956b95a6ccb9517a5affe69c3491d283478708ca88091abb3103f" => :mountain_lion
|
2014-11-08 02:54:26 +00:00
|
|
|
end
|
|
|
|
|
2013-03-28 20:46:43 +00:00
|
|
|
fails_with :clang do
|
2013-11-07 20:04:24 +00:00
|
|
|
build 500
|
2014-11-08 02:03:47 +00:00
|
|
|
cause "multiple configure and compile errors"
|
2013-03-28 20:46:43 +00:00
|
|
|
end
|
2011-09-15 13:05:25 +00:00
|
|
|
|
|
|
|
def install
|
|
|
|
system "./build.sh"
|
2014-11-08 02:03:47 +00:00
|
|
|
# The Makefile installs a configuration file in the bindir which our bot red-flags
|
|
|
|
(prefix+"etc").mkdir
|
|
|
|
inreplace "Makefile", "bin/ape.conf $(bindir)", "bin/ape.conf $(prefix)/etc"
|
2011-09-15 13:05:25 +00:00
|
|
|
system "make", "install", "prefix=#{prefix}"
|
|
|
|
end
|
2014-11-08 02:03:47 +00:00
|
|
|
|
|
|
|
def caveats; <<-EOS.undent
|
|
|
|
The default configuration file is stored in #{etc}. You should load aped with:
|
|
|
|
aped --cfg #{etc}/ape.conf
|
|
|
|
EOS
|
|
|
|
end
|
|
|
|
|
|
|
|
test do
|
|
|
|
system "#{bin}/aped", "--version"
|
|
|
|
end
|
2011-09-15 13:05:25 +00:00
|
|
|
end
|