Merge pull request #885 from uberhacker/add-putty-package

Add putty package
This commit is contained in:
Damian Montero
2017-07-16 16:48:55 -04:00
committed by GitHub

18
packages/putty.rb Normal file
View File

@@ -0,0 +1,18 @@
require 'package'
class Putty < Package
description 'Free Telnet, SSH, and Rlogin clients plus a terminal emulator'
homepage 'https://www.chiark.greenend.org.uk/~sgtatham/putty/'
version '0.70'
source_url 'https://the.earth.li/~sgtatham/putty/latest/putty-0.70.tar.gz'
source_sha256 'bb8aa49d6e96c5a8e18a057f3150a1695ed99a24eef699e783651d1f24e7b0be'
def self.build
system './configure --without-gtk'
system 'make'
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end
end