mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-09 15:37:56 -05:00
* Rename aws to aws_cli * Rename ffcall to libffcall * Update filecmd homepage * Update go_bootstrap homepage * Update go homepage * Update bacon homepage * Rename jsonc to json_c * Update libffi homepage * Update libgd homepage * Rename libjpeg to libjpeg_turbo * Update libpng homepage * Rename mandb to man_db * Update mongodb homepage * Rename moonbuggy to moon_buggy * Update mpc homepage * Update netcat homepage * Update nethack4 homepage * Rename pkgconfig to pkg_config * Rename postgres to postgresql * Rename proj4 to proj * Update qemacs homepage * Update readline homepage * Update scrollz homepage * Update xzutils homepage * Update weather homepage
29 lines
1018 B
Ruby
29 lines
1018 B
Ruby
require 'package'
|
|
|
|
class Netcat < Package
|
|
description 'Netcat is a featured networking utility which reads and writes data across network connections, using the TCP/IP protocol.'
|
|
homepage 'https://netcat.sourceforge.net'
|
|
version '0.7.1'
|
|
license 'netcat'
|
|
compatibility 'all'
|
|
source_url 'http://downloads.sourceforge.net/project/netcat/netcat/0.7.1/netcat-0.7.1.tar.gz'
|
|
source_sha256 '30719c9a4ffbcf15676b8f528233ccc54ee6cba96cb4590975f5fd60c68a066f'
|
|
binary_compression 'tar.xz'
|
|
|
|
binary_sha256({
|
|
aarch64: '02fa145b9e7d8d956b676fe8ce320d507e00852102bcfbf8c11ab68f340d090a',
|
|
armv7l: '02fa145b9e7d8d956b676fe8ce320d507e00852102bcfbf8c11ab68f340d090a',
|
|
i686: '1d56c30a41a78072ca56aeefa2fa8de161c807d2d6352cae47e1e3ebbc90d1a1',
|
|
x86_64: 'd8eabdf6ac3bd822811c8fc8d5da26dc8a4014cae561a2a77b54c6a1f9a9eff8'
|
|
})
|
|
|
|
def self.build
|
|
system "./configure --prefix=#{CREW_PREFIX}"
|
|
system 'make'
|
|
end
|
|
|
|
def self.install
|
|
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
|
|
end
|
|
end
|