New formula: appswitch
Signed-off-by: Adam Vandenberg <flangy@gmail.com> * Compile instead of using pre-compiled binary
This commit is contained in:
parent
5a138b85a4
commit
4160a2de22
1 changed files with 13 additions and 0 deletions
13
Formula/appswitch.rb
Normal file
13
Formula/appswitch.rb
Normal file
|
@ -0,0 +1,13 @@
|
|||
require 'formula'
|
||||
|
||||
class Appswitch <Formula
|
||||
url 'http://web.sabi.net/nriley/software/appswitch-1.1.tar.gz'
|
||||
homepage 'http://web.sabi.net/nriley/software/'
|
||||
md5 '07cf9884a07939da487898cddba0c296'
|
||||
|
||||
def install
|
||||
system "#{ENV.cc} -o appswitch #{ENV['CFLAGS']} main.c -framework ApplicationServices"
|
||||
man1.install gzip('appswitch.1')
|
||||
bin.install 'appswitch'
|
||||
end
|
||||
end
|
Loading…
Reference in a new issue