homebrew-core/Formula/acpica.rb

26 lines
923 B
Ruby
Raw Normal View History

class Acpica < Formula
desc "OS-independent implementation of the ACPI specification"
2014-05-31 22:36:04 +00:00
homepage "https://www.acpica.org/"
url "https://acpica.org/sites/acpica/files/acpica-unix-20160212.tar.gz"
sha256 "ad26e0632d9800f9df76415f735bb8d4c0901d0596a00e6260f9297281742942"
head "https://github.com/acpica/acpica.git"
2014-06-29 03:47:43 +00:00
bottle do
2015-10-05 20:53:44 +00:00
cellar :any_skip_relocation
2016-09-25 13:03:28 +00:00
sha256 "7fc412c07b63b45e2e71dfac8008924977a15c3e7cb0c20383d094d3c80c15dd" => :sierra
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
def install
ENV.deparallelize
system "make", "PREFIX=#{prefix}"
system "make", "install", "PREFIX=#{prefix}"
end
test do
system "#{bin}/acpihelp", "-u"
end
end