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-01-07 08:11:02 +00:00
|
|
|
url "https://acpica.org/sites/acpica/files/acpica-unix-20151218.tar.gz"
|
|
|
|
sha256 "6033e92c2ce3c5fa6a02c7e28bb5b37fb1c2bcac2fb467acd2d9a67e4d727d00"
|
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-01-07 08:21:58 +00:00
|
|
|
sha256 "51ab4a89dc3e931fbe33961c31f93ec0fa4eb9f4bab03364cebebe58ac6b3694" => :el_capitan
|
|
|
|
sha256 "3bf29505e1d269d065737a7152f5d7edd87c6f02a849090c73cbca67cf2c713b" => :yosemite
|
|
|
|
sha256 "7e82e6ba4a87489ea74f721505bbb8a8048b9a817457463ab278e4018c1b16c8" => :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
|