2015-05-26 07:46:09 +00:00
|
|
|
class Aap < Formula
|
2015-12-19 05:06:06 +00:00
|
|
|
desc "make-like tool to download, build, and install software"
|
2015-05-26 07:46:09 +00:00
|
|
|
homepage "http://www.a-a-p.org"
|
2015-06-06 14:52:38 +00:00
|
|
|
url "https://downloads.sourceforge.net/project/a-a-p/aap-1.094.zip"
|
|
|
|
sha256 "3f53b2fc277756042449416150acc477f29de93692944f8a77e8cef285a1efd8"
|
2015-05-27 22:24:13 +00:00
|
|
|
|
2015-06-06 15:01:58 +00:00
|
|
|
bottle do
|
2016-02-15 22:23:46 +00:00
|
|
|
cellar :any_skip_relocation
|
2016-09-25 03:26:37 +00:00
|
|
|
rebuild 1
|
|
|
|
sha256 "6e42400eb31e15dae56452b347925eb20faae1b996d94173b8711bd080e4a182" => :sierra
|
2016-02-15 22:23:46 +00:00
|
|
|
sha256 "32c30b38a37147754c5abfe9a801777b4a798af6dbcce2f15e1693c6027f0fbe" => :el_capitan
|
|
|
|
sha256 "15472b5a56a90d2d83c3ab24eba09e3644867857d8a7c547c82e6937beff3344" => :yosemite
|
|
|
|
sha256 "b141c07f091f90bd883148bf0e3c093d90fc0be7c4f8e7d07df9ae7cae684862" => :mavericks
|
2015-06-06 15:01:58 +00:00
|
|
|
end
|
|
|
|
|
2015-05-26 07:46:09 +00:00
|
|
|
depends_on :python if MacOS.version <= :snow_leopard
|
|
|
|
|
|
|
|
def install
|
|
|
|
# Aap is designed to install using itself
|
2015-06-06 14:52:38 +00:00
|
|
|
system "./aap", "install", "PREFIX=#{prefix}", "MANSUBDIR=share/man"
|
2015-05-26 07:46:09 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
test do
|
|
|
|
# A dummy target definition
|
|
|
|
(testpath/"main.aap").write("dummy:\n\t:print OK\n")
|
|
|
|
system "#{bin}/aap", "dummy"
|
|
|
|
end
|
|
|
|
end
|