diff options
| author | Adam Vandenberg | 2010-07-02 08:40:04 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2010-07-02 08:40:04 -0700 |
| commit | eaa0db219767137bea3f965ba198b236b65c1272 (patch) | |
| tree | 7812e3067a34ac0d9c50af4f4f3e8a671ea4efe8 /Library/Formula | |
| parent | 6b94a827f66dad981264134d928d04fffb21c621 (diff) | |
| download | homebrew-eaa0db219767137bea3f965ba198b236b65c1272.tar.bz2 | |
libnet - use stable download and fix configure process for OS X
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/libnet.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Library/Formula/libnet.rb b/Library/Formula/libnet.rb index 74520d1cb..eed10bc25 100644 --- a/Library/Formula/libnet.rb +++ b/Library/Formula/libnet.rb @@ -1,12 +1,17 @@ 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" + system "cp", "/usr/share/automake-1.10/config.sub", "." + system "cp", "/usr/share/automake-1.10/config.guess", "." system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking" touch 'doc/man/man3/libnet.3' system "make install" |
