aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorJason P. Scharf2014-01-14 13:58:44 -0500
committerAdam Vandenberg2014-01-28 18:34:54 -0800
commit53bf30b81ba00d26246759cc0cf89e38bccb502a (patch)
treec26b1e632548c7bcff5d48d440f64294993a997c /Library/Formula
parent6d5bc71e8ad2a2567c2f29485a6468827717a371 (diff)
downloadhomebrew-53bf30b81ba00d26246759cc0cf89e38bccb502a.tar.bz2
launch 1.2.1
Closes #25899. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/launch.rb26
1 files changed, 16 insertions, 10 deletions
diff --git a/Library/Formula/launch.rb b/Library/Formula/launch.rb
index 48fada839..36b48e2e7 100644
--- a/Library/Formula/launch.rb
+++ b/Library/Formula/launch.rb
@@ -2,20 +2,26 @@ require 'formula'
class Launch < Formula
homepage 'http://web.sabi.net/nriley/software/'
- url 'http://web.sabi.net/nriley/software/launch-1.1.tar.gz'
- sha1 '000d6f1063f1b9091a8b10de90cfa778ed6a6ed1'
+ head 'https://github.com/nriley/launch.git'
+ url 'http://sabi.net/nriley/software/launch-1.2.1.tar.gz'
+ sha1 'c9d8034da5778ee973bf64c3d3acc19e143730bd'
- head 'http://dev.sabi.net/svn/dev/trunk/launch/launch/', :using => :svn
-
- # Fix compilation on 10.8 and newer, per MacPorts
- def patches
- {:p0 => "https://trac.macports.org/export/114086/trunk/dports/aqua/launch/files/patch-main.c.diff"}
- end
+ depends_on :xcode
def install
rm_rf "launch" # We'll build it ourself, thanks.
- system "#{ENV.cc} -o launch -std=c99 #{ENV.cflags} main.c -framework ApplicationServices"
+ system "xcodebuild",
+ "-configuration",
+ "Deployment",
+ "SYMROOT=build",
+ "clean"
+
+ system "xcodebuild",
+ "-configuration",
+ "Deployment",
+ "SYMROOT=build"
+
man1.install gzip('launch.1')
- bin.install 'launch'
+ bin.install 'build/Deployment/launch'
end
end