locateme 0.2.1 (new formula)
Closes #5987. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
parent
a2bc8d4548
commit
287c1d5de8
1 changed files with 16 additions and 0 deletions
16
Formula/locateme.rb
Normal file
16
Formula/locateme.rb
Normal file
|
@ -0,0 +1,16 @@
|
|||
class Locateme < Formula
|
||||
desc "Find your location using Apple's geolocation services"
|
||||
homepage "http://iharder.sourceforge.net/current/macosx/locateme"
|
||||
url "https://downloads.sourceforge.net/project/iharder/locateme/LocateMe-v0.2.1.zip"
|
||||
sha256 "137016e6c1a847bbe756d8ed294b40f1d26c1cb08869940e30282e933e5aeecd"
|
||||
|
||||
def install
|
||||
system ENV.cc, "-framework", "Foundation", "-framework", "CoreLocation", "LocateMe.m", "-o", "LocateMe"
|
||||
bin.install "LocateMe"
|
||||
man1.install "LocateMe.1"
|
||||
end
|
||||
|
||||
test do
|
||||
system "#{bin}/LocateMe", "-h"
|
||||
end
|
||||
end
|
Loading…
Reference in a new issue