a68c15165a
libopennet allows developers to open_net() files or URLs alike, and get a file descriptor back that they can use to read data from. It supports HTTP (read-only) and FTP (read or write). It also comes with read_net() to do a forceful read(), and lseek_net() for calling lseek on the socket/file. Signed-off-by: David Höppner <0xffea@gmail.com> * correct man path and homepage url
13 lines
398 B
Ruby
13 lines
398 B
Ruby
require 'formula'
|
|
|
|
class Libopennet <Formula
|
|
url 'http://www.rkeene.org/files/oss/libopennet/libopennet-0.9.9.tar.gz'
|
|
homepage 'http://www.rkeene.org/oss/libopennet'
|
|
md5 '621294efc0d2d1a839d6262359b46f9c'
|
|
|
|
def install
|
|
system "./configure", "--disable-debug", "--disable-dependency-tracking", "--prefix=#{prefix}", "--mandir=#{man}"
|
|
system "make"
|
|
system "make install"
|
|
end
|
|
end
|