Commit 48119ae2 authored by Casey Strouse's avatar Casey Strouse

Add package for netcat

This adds GNU netcat (0.7.1). netcat is a utility for managing network connections.

Tested sucessfully on Samsung Chromebook 3 (XE500C13-K01US).
parent f34720c8
require 'package'
class Nc < Package
version '0.7.1'
source_url 'http://downloads.sourceforge.net/project/netcat/netcat/0.7.1/netcat-0.7.1.tar.gz'
source_sha1 'b5cbc52a7ceed2fd5c4f5081f5747130b2d0fe01'
def self.build
system "./configure --prefix=/usr/local"
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