homebrew-core/Formula/aap.rb

29 lines
1 KiB
Ruby
Raw Normal View History

class Aap < Formula
2015-12-19 05:06:06 +00:00
desc "make-like tool to download, build, and install software"
homepage "http://www.a-a-p.org"
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
depends_on :python if MacOS.version <= :snow_leopard
def install
# Aap is designed to install using itself
system "./aap", "install", "PREFIX=#{prefix}", "MANSUBDIR=share/man"
end
test do
# A dummy target definition
(testpath/"main.aap").write("dummy:\n\t:print OK\n")
system "#{bin}/aap", "dummy"
end
end