forked from facebook/PathPicker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
fpp.rb
26 lines (22 loc) · 895 Bytes
/
fpp.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
class Fpp < Formula
homepage "https://facebook.github.io/PathPicker/"
url "https://github.com/facebook/PathPicker/releases/download/0.5.5/fpp.0.5.5.tar.gz"
sha256 "416e8f8d5979947239db89a9e327e8d3e731a5feb08f1d9c05b1ee90768cdbf7"
head "https://github.com/facebook/pathpicker.git"
bottle do
cellar :any
sha256 "2deb167b4dd052e599b7585a12bc43313e1a255da930022378f1cf53aee3c78e" => :yosemite
sha256 "29e5e0a547a363f544d39f12b712000e18e555c7b16f1d548af47e138cd4185f" => :mavericks
sha256 "21bf8171dce1011c411674f00869b067290247ffced0fa1e6170d827503ca46f" => :mountain_lion
end
depends_on :python if MacOS.version <= :snow_leopard
def install
# we need to copy the bash file and source python files
libexec.install Dir["*"]
# and then symlink the bash file
bin.install_symlink libexec/"fpp"
end
test do
system bin/"fpp", "--help"
end
end