sleepwatcher: add depends_on :macos
parent
8badadc7cf
commit
cd9453eddb
|
@ -3,6 +3,7 @@ class Sleepwatcher < Formula
|
||||||
homepage "https://www.bernhard-baehr.de/"
|
homepage "https://www.bernhard-baehr.de/"
|
||||||
url "https://www.bernhard-baehr.de/sleepwatcher_2.2.1.tgz"
|
url "https://www.bernhard-baehr.de/sleepwatcher_2.2.1.tgz"
|
||||||
sha256 "4bf1656702167871141fbc119a844d1363d89994e1a67027f0e773023ae9643e"
|
sha256 "4bf1656702167871141fbc119a844d1363d89994e1a67027f0e773023ae9643e"
|
||||||
|
license "GPL-3.0-or-later"
|
||||||
|
|
||||||
livecheck do
|
livecheck do
|
||||||
url :homepage
|
url :homepage
|
||||||
|
@ -18,6 +19,8 @@ class Sleepwatcher < Formula
|
||||||
sha256 cellar: :any_skip_relocation, sierra: "0cecea617ee9334f717a2e2e0424b944dedcc7cd403776c1cf6ff67352b96f4c"
|
sha256 cellar: :any_skip_relocation, sierra: "0cecea617ee9334f717a2e2e0424b944dedcc7cd403776c1cf6ff67352b96f4c"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
depends_on :macos
|
||||||
|
|
||||||
def install
|
def install
|
||||||
# Adjust Makefile to build native binary only
|
# Adjust Makefile to build native binary only
|
||||||
inreplace "sources/Makefile" do |s|
|
inreplace "sources/Makefile" do |s|
|
||||||
|
|
Loading…
Reference in New Issue