homebrew-core/Formula/pwnat.rb

19 lines
399 B
Ruby
Raw Normal View History

require 'formula'
2011-03-10 05:11:03 +00:00
class Pwnat < Formula
2010-04-13 03:23:31 +00:00
url 'http://samy.pl/pwnat/pwnat-0.3-beta.tgz'
homepage 'http://samy.pl/pwnat/'
2010-04-13 03:23:31 +00:00
md5 'd1f2b556a32669484f0358d009a20feb'
def install
inreplace "Makefile" do |s|
s.change_make_var! "CC", ENV.cc
2010-08-10 15:05:31 +00:00
s.change_make_var! "CFLAGS", ENV.cflags
s.change_make_var! "LDFLAGS", "-lz"
end
system "make"
bin.install "pwnat"
end
end