aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorSascha Kratky2010-10-02 16:59:34 +0200
committerAdam Vandenberg2010-10-02 08:08:07 -0700
commit4a67f2d8cc9e462beb6fe1182ac364921cac2534 (patch)
treef52d6fb81a442db22445984aae06ab404352f5a4 /Library
parent476e31e4e9d0ff26d14cd1646827e21ded880f7e (diff)
downloadhomebrew-4a67f2d8cc9e462beb6fe1182ac364921cac2534.tar.bz2
New formula: putty
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/putty.rb25
1 files changed, 25 insertions, 0 deletions
diff --git a/Library/Formula/putty.rb b/Library/Formula/putty.rb
new file mode 100644
index 000000000..bde5eb684
--- /dev/null
+++ b/Library/Formula/putty.rb
@@ -0,0 +1,25 @@
+require 'formula'
+
+class Putty <Formula
+ url 'http://the.earth.li/~sgtatham/putty/latest/putty-0.60.tar.gz'
+ homepage 'http://www.chiark.greenend.org.uk/~sgtatham/putty/'
+ md5 '07e65fd98b16d115ae38a180bfb242e2'
+
+ def install
+ # use the unix build to make all PuTTY command line tools
+ cd "unix"
+ # disable GTK upon configure
+ system "./configure", "--disable-debug", "--disable-dependency-tracking",
+ "--prefix=#{prefix}",
+ "--disable-gtktest", "--with-gtk-prefix=/dev/null"
+ system "make VER=-DRELEASE=#{version} all-cli"
+ # install manually
+ bin.install %w{ plink pscp psftp puttygen }
+ cd "../doc"
+ man1.install %w{ plink.1 pscp.1 psftp.1 puttygen.1 }
+ end
+
+ def caveats
+ "This formula did not build the Mac OS X GUI PuTTY.app."
+ end
+end