diff options
| author | Jack Nagel | 2012-04-20 22:02:41 -0500 |
|---|---|---|
| committer | Jack Nagel | 2012-04-20 22:02:41 -0500 |
| commit | 59e13b86a88c06094824331b55107e4e79129024 (patch) | |
| tree | f0e4574e5497c7fb1b25549b7de5d140df74d372 /Library | |
| parent | 3940d8afce781ec6916d3535203a0cd479f80039 (diff) | |
| download | homebrew-59e13b86a88c06094824331b55107e4e79129024.tar.bz2 | |
libnet 1.1.6
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/libnet.rb | 23 |
1 files changed, 3 insertions, 20 deletions
diff --git a/Library/Formula/libnet.rb b/Library/Formula/libnet.rb index 61cfef644..9a229dea8 100644 --- a/Library/Formula/libnet.rb +++ b/Library/Formula/libnet.rb @@ -1,29 +1,12 @@ require 'formula' class Libnet < Formula - url "https://github.com/sam-github/libnet/tarball/libnet-1.1.4" - md5 "0cb6c04063c1db37c91af08c76d25134" - head 'https://github.com/sam-github/libnet.git' homepage 'https://github.com/sam-github/libnet' - - if MacOS.xcode_version >= "4.3" - # when and if the tarball provides configure, remove autogen.sh and these deps - depends_on "automake" => :build - depends_on "libtool" => :build - end + url 'http://sourceforge.net/projects/libnet-dev/files/libnet-1.1.6.tar.gz' + sha1 'dffff71c325584fdcf99b80567b60f8ad985e34c' def install - cd 'libnet' - inreplace "autogen.sh", "libtoolize", "glibtoolize" - system "./autogen.sh" - - unless MacOS.leopard? - cp "/usr/share/libtool/config/config.guess", "." - cp "/usr/share/libtool/config/config.sub", "." - end - - system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking" - touch 'doc/man/man3/libnet.3' + system "./configure", "--prefix=#{prefix}", "--disable-dependency-tracking" system "make install" end end |
