homebrew-core/Formula/acpica.rb

25 lines
831 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-20160930.tar.gz"
sha256 "8f69ac88fb14ef8dcdb6d5bcfb912115dead15d64cb06f78f44867d2e826c931"
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-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
def install
ENV.deparallelize
system "make", "PREFIX=#{prefix}"
system "make", "install", "PREFIX=#{prefix}"
end
test do
system "#{bin}/acpihelp", "-u"
end
end