From 287c1d5de8e36371a57e3d33ea99368fbcd62a8a Mon Sep 17 00:00:00 2001 From: Beau Date: Mon, 17 Oct 2016 00:47:37 +0100 Subject: [PATCH] locateme 0.2.1 (new formula) Closes #5987. Signed-off-by: Mike McQuaid --- Formula/locateme.rb | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 Formula/locateme.rb diff --git a/Formula/locateme.rb b/Formula/locateme.rb new file mode 100644 index 0000000000..b46f7381bb --- /dev/null +++ b/Formula/locateme.rb @@ -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