homebrew-core/Formula/libnet.rb
Adam Vandenberg 7bd947eb0b Update formulae for version 0.7
* Use new "url" features
* Use keg_only DSL
* Use "skip_clean :all" DSL
* Whitespace and style cleanups
* Make bash invocations less silly
* Use new man2-man8 helpers
* Remove "FileUtils." since it is included in Formula
* Use real names for deps instead of aliases
* ENV.x11 now updates path, so remove that from individual brews
2010-08-07 18:08:53 -07:00

20 lines
632 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"
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