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/"
|
2015-07-21 10:55:20 +00:00
|
|
|
url "https://acpica.org/sites/acpica/files/acpica-unix2-20150717.tar.gz"
|
|
|
|
sha256 "dd60f846ad8393d89d2cbadf362c6547c5e53405f5ee51097c90db3636f79e0a"
|
2015-10-05 03:32:36 +00:00
|
|
|
head "https://github.com/acpica/acpica.git"
|
2013-05-18 18:37:02 +00:00
|
|
|
|
2014-06-29 03:47:43 +00:00
|
|
|
bottle do
|
2015-10-05 20:53:44 +00:00
|
|
|
cellar :any_skip_relocation
|
|
|
|
revision 1
|
|
|
|
sha256 "cc725e69697566a45bc3398020ed869428096585f1a719c327cca44179bb4ab6" => :el_capitan
|
|
|
|
sha256 "97f48c365f61d024a47dc37d074bf12b3946b006e4f047f6b06ab47e98c58dfe" => :yosemite
|
|
|
|
sha256 "2dee2a8911b99c8cc52b1534d9f6f0e87c04521d81a1b89c5ac46f7a149cd4db" => :mavericks
|
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
|