Commit e6ca8d15 authored by Ed Reel's avatar Ed Reel

Add whois package

parent c760d1f7
require 'package'
class Whois < Package
description 'Intelligent WHOIS client'
homepage 'https://github.com/rfc1036/whois'
version '5.2.16'
source_url 'https://github.com/rfc1036/whois/archive/v5.2.16.tar.gz'
source_sha1 '1a5afb7363ef62de0565ae10cee7f0a42b6b260e'
def self.build
system "sed -i 's,prefix = /usr,prefix = /usr/local,' Makefile"
system "sed -i 's,prefix = /usr,prefix = /usr/local,' po/Makefile"
system "sed -i 's,/share/,/,g' Makefile"
system "sed -i 's,/share/,/,g' po/Makefile"
system "sed -i 's,/share/,/,g' config.h"
system "make"
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end
end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment