2013-05-18 18:37:02 +00:00
|
|
|
class Acpica < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "OS-independent implementation of the ACPI specification"
|
2014-05-31 22:36:04 +00:00
|
|
|
homepage "https://www.acpica.org/"
|
|
|
|
head "https://github.com/acpica/acpica.git"
|
2015-07-21 10:55:20 +00:00
|
|
|
url "https://acpica.org/sites/acpica/files/acpica-unix2-20150717.tar.gz"
|
|
|
|
sha256 "dd60f846ad8393d89d2cbadf362c6547c5e53405f5ee51097c90db3636f79e0a"
|
2013-05-18 18:37:02 +00:00
|
|
|
|
2014-06-29 03:47:43 +00:00
|
|
|
bottle do
|
|
|
|
cellar :any
|
2015-06-20 05:16:54 +00:00
|
|
|
sha256 "6f94c02bcfde2d9bd5a947f8ecbe24030ab1a4a4951616115597314c7a4f6eac" => :yosemite
|
|
|
|
sha256 "fbbfc9595cfeebd13587d6f5d575355cf3cb01ed7cd7b571ff1c914bca53c0a9" => :mavericks
|
|
|
|
sha256 "575fa0f68eff7d8a515f43c5390242bdc9ca3c4bcf7f306bccc1a5f24ec254d4" => :mountain_lion
|
2014-06-29 03:47:43 +00:00
|
|
|
end
|
|
|
|
|
2013-05-18 18:37:02 +00:00
|
|
|
def install
|
|
|
|
ENV.deparallelize
|
2015-06-20 01:40:02 +00:00
|
|
|
system "make", "PREFIX=#{prefix}"
|
|
|
|
system "make", "install", "PREFIX=#{prefix}"
|
2013-05-18 18:37:02 +00:00
|
|
|
end
|
2015-02-23 08:38:33 +00:00
|
|
|
|
|
|
|
test do
|
|
|
|
system "#{bin}/acpihelp", "-u"
|
|
|
|
end
|
2013-05-18 18:37:02 +00:00
|
|
|
end
|