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/"
|
2016-11-06 05:42:30 +00:00
|
|
|
url "https://acpica.org/sites/acpica/files/acpica-unix-20160930.tar.gz"
|
|
|
|
sha256 "8f69ac88fb14ef8dcdb6d5bcfb912115dead15d64cb06f78f44867d2e826c931"
|
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
|
2016-11-06 06:08:09 +00:00
|
|
|
sha256 "5dab087ee98dcc7d64e050f362597cd7a0b4c439bfc15ce3a877b131442c2db0" => :sierra
|
|
|
|
sha256 "b4df74bfd2c1890c13ca8eb6f858ce617aff37aaefccd3e4db8f024ff8f55781" => :el_capitan
|
|
|
|
sha256 "8da2310058a4452a73be393a7ebb545211582b175dacfd8802b8dcfeef878e8f" => :yosemite
|
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
|