Commit abd3618d authored by lyxell's avatar lyxell Committed by GitHub

Merge pull request #388 from cstrouse/add-powerstat

Add powerstat (0.02.11) package
parents bd1f7548 02880274
require 'package'
class Powerstat < Package
version '0.02.11'
source_url 'http://kernel.ubuntu.com/~cking/tarballs/powerstat/powerstat-0.02.11.tar.gz'
source_sha1 '729c5f8f4509ab13134278c8afe04cf2244d928c'
def self.build
system "sed -i 's,/usr,/usr/local,g' Makefile"
system "make"
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
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