homebrew-core/Formula/libnet.rb
Adam Vandenberg 59ce8a6c2b curl 7.21.2 (OS X 10.5 comes with 7.16.3)
CouchDB requires at least 7.18.0.
2010-11-09 06:27:11 -08:00

21 lines
684 B
Ruby

require 'formula'
class Libnet < Formula
url "http://github.com/sam-github/libnet/tarball/libnet-1.1.4"
md5 "0cb6c04063c1db37c91af08c76d25134"
head 'git://github.com/sam-github/libnet.git'
homepage 'http://github.com/sam-github/libnet'
def install
cd 'libnet'
inreplace "autogen.sh", "libtoolize", "glibtoolize"
system "./autogen.sh"
# These are being linked in here for us...?
# cp "/usr/share/libtool/config/config.guess", "."
# cp "/usr/share/libtool/config/config.sub", "."
system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
touch 'doc/man/man3/libnet.3'
system "make install"
end
end