Commit 679ea3a4 authored by Ed Reel's avatar Ed Reel Committed by Kazushi (Jam) Marukawa

Add dmidecode package

parent e8727489
require 'package'
class Dmidecode < Package
description "Dmidecode reports information about your system's hardware as described in your system BIOS according to the SMBIOS/DMI standard (see a sample output)."
homepage 'http://www.nongnu.org/dmidecode/'
version '3.1'
source_url 'http://download.savannah.gnu.org/releases/dmidecode/dmidecode-3.1.tar.xz'
source_sha256 'd766ce9b25548c59b1e7e930505b4cad9a7bb0b904a1a391fbb604d529781ac0'
def self.build
system 'make'
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
puts ""
puts "To complete the installation, execute the following:".lightblue
puts "echo 'export PATH=$PATH:/usr/local/sbin' >> ~/.bashrc && source ~/.bashrc".lightblue
puts ""
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