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-03-10 14:46:14 +00:00
|
|
|
url "https://acpica.org/sites/acpica/files/acpica-unix-20160212.tar.gz"
|
|
|
|
sha256 "ad26e0632d9800f9df76415f735bb8d4c0901d0596a00e6260f9297281742942"
|
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-03-10 14:59:13 +00:00
|
|
|
sha256 "7c31a7094ac5c67c2f71bea114b69cf008a1d00e9a13c710fe3ac180cd8933da" => :el_capitan
|
|
|
|
sha256 "16bcd9b2cfdec53612cb03ba20d3a1fea12e48d90c3678b2df73f1ca42295b48" => :yosemite
|
|
|
|
sha256 "0ad8f8040c309078985005795a91959d5b6fe522de8727799b5a390ca6754fff" => :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
|