mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-09 15:37:56 -05:00
Add package for socat (1.7.3.1)
socat is a multipurpose relay tool. Tested sucessfully on Samsung Chromebook 3 (XE500C13-K01US).
This commit is contained in:
19
packages/socat.rb
Normal file
19
packages/socat.rb
Normal file
@@ -0,0 +1,19 @@
|
||||
require 'package'
|
||||
|
||||
class Socat < Package
|
||||
version '1.7.3.1'
|
||||
source_url 'http://www.dest-unreach.org/socat/download/socat-1.7.3.1.tar.gz'
|
||||
source_sha1 'a6f1d8ab3e85f565dbe172f33a9be6708dd52ffb'
|
||||
|
||||
depends_on 'readline'
|
||||
depends_on 'openssl'
|
||||
|
||||
def self.build
|
||||
system "./configure"
|
||||
system "make"
|
||||
end
|
||||
|
||||
def self.install
|
||||
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user