homebrew-core/Formula/pwnat.rb
2013-01-28 21:40:20 -08:00

12 lines
296 B
Ruby

require 'formula'
class Pwnat < Formula
homepage 'http://samy.pl/pwnat/'
url 'http://samy.pl/pwnat/pwnat-0.3-beta.tgz'
sha1 '6faaeef76a2b62635def8fdef06fce0dfa3e870e'
def install
system "make", "CC=#{ENV.cc}", "CFLAGS=#{ENV.cflags}", "LDFLAGS=-lz"
bin.install "pwnat"
end
end