homebrew-core/Formula/ncftp.rb

22 lines
682 B
Ruby
Raw Normal View History

require 'formula'
2009-09-22 06:38:44 +00:00
2011-03-10 05:11:03 +00:00
class Ncftp < Formula
homepage 'http://www.ncftp.com'
url 'ftp://ftp.ncftp.com/ncftp/ncftp-3.2.5-src.tar.gz'
sha1 'b1aafd9291e29c336fcad07ae212fe1b5b2a1c58'
2009-09-22 06:38:44 +00:00
def install
# "disable universal" doesn't seem to work.
# If ncftp detects the 10.4 SDK, it will try to use GCC 4.0 which doesn't
# support all of the compiler flags we set.
# So, just disable optimizations intead.
ENV.no_optimization
system "./configure", "--disable-universal",
"--disable-precomp",
"--prefix=#{prefix}",
"--mandir=#{man}"
2009-09-22 06:38:44 +00:00
system "make"
system "make install"
end
end