parent
7f4bb46e32
commit
b2352e07d0
1 changed files with 4 additions and 6 deletions
|
@ -1,9 +1,7 @@
|
||||||
require 'formula'
|
|
||||||
|
|
||||||
class Netcat < Formula
|
class Netcat < Formula
|
||||||
homepage 'http://netcat.sourceforge.net/'
|
homepage "http://netcat.sourceforge.net/"
|
||||||
url 'https://downloads.sourceforge.net/sourceforge/netcat/netcat-0.7.1.tar.bz2'
|
url "https://downloads.sourceforge.net/project/netcat/netcat/0.7.1/netcat-0.7.1.tar.bz2"
|
||||||
sha1 'b761d70fe9e3e8b3fe33a329b9bc31300dc04d11'
|
sha1 "b761d70fe9e3e8b3fe33a329b9bc31300dc04d11"
|
||||||
|
|
||||||
def install
|
def install
|
||||||
system "./configure", "--disable-debug",
|
system "./configure", "--disable-debug",
|
||||||
|
@ -11,6 +9,6 @@ class Netcat < Formula
|
||||||
"--prefix=#{prefix}",
|
"--prefix=#{prefix}",
|
||||||
"--mandir=#{man}",
|
"--mandir=#{man}",
|
||||||
"--infodir=#{info}"
|
"--infodir=#{info}"
|
||||||
system "make install"
|
system "make", "install"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue