Files
chromebrew/packages/ndisc6.rb
Maximilian Downey Twiss f6b6cab229 Rename autotools constants to fall in line with the rest of crew (#10442)
* Rename CREW_OPTIONS to CREW_CONFIGURE_OPTIONS

* Rename build_extras and install_extras to configure_build_extras and configure_install_extras
2024-09-09 18:21:58 -05:00

29 lines
1003 B
Ruby

require 'package'
class Ndisc6 < Package
description 'Small collection of useful tools for IPv6 networking (ndisc6, rdisc6, tcptraceroute6, traceroute6, rdnssd).'
homepage 'https://www.remlab.net/ndisc6/'
version '1.0.4'
license 'GPL-2'
compatibility 'all'
source_url 'https://www.remlab.net/files/ndisc6/ndisc6-1.0.4.tar.bz2'
source_sha256 'abb1da4a98d94e5abe1dd7b1c975de540306b0581cbbd36aff035118b2f25c1f'
binary_compression 'tar.xz'
binary_sha256({
aarch64: '5a9f7557dd481117483f81035f168a8c0de9a2210c57b049219727f6546fc2b1',
armv7l: '5a9f7557dd481117483f81035f168a8c0de9a2210c57b049219727f6546fc2b1',
i686: 'b2d727341b6a5302dda0da0529635b11cc4e04a1ca1e8eb129ab53bafae17a0f',
x86_64: '2fe334ddc96bd956663ceb593383800e9d8216fb867beadd5ecb099d41504148'
})
def self.build
system "./configure #{CREW_CONFIGURE_OPTIONS} --disable-suid-install"
system 'make'
end
def self.install
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
end
end