locateme 0.2.1 (new formula)

Closes #5987.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
Beau 2016-10-17 00:47:37 +01:00 committed by Mike McQuaid
parent a2bc8d4548
commit 287c1d5de8

16
Formula/locateme.rb Normal file
View 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