Commit 288d30dd authored by Casey Strouse's avatar Casey Strouse

Add lshw (B.02.18) package

lshw is a small tool to extract detailed information on the hardware configuration of the machine.

Tested as working properly on Samsung XE50013-K01US.
parent 00023b89
require 'package'
class Lshw < Package
version 'B.02.18'
source_url 'http://www.ezix.org/software/files/lshw-B.02.18.tar.gz'
source_sha1 'c0240f5e53cf40769d52e316719e8010ea6bdea3'
def self.build
FileUtils.chdir("src") do
system "PREFIX=/usr/local make"
end
end
def self.install
FileUtils.chdir("src") do
system "PREFIX=/usr/local make DESTDIR=#{CREW_DEST_DIR} install"
end
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