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

Merge pull request #391 from cstrouse/add-smemstat

Add smemstat (0.01.16) package
parents bfb33109 8b981410
require 'package'
class Smemstat < Package
version '0.01.16'
source_url 'http://kernel.ubuntu.com/~cking/tarballs/smemstat/smemstat-0.01.16.tar.gz'
source_sha1 '4efdd89afa15ea7e4cb302653418935dab3c626a'
depends_on "ncurses"
def self.build
system "sed -i 's,/usr,/usr/local,g' Makefile"
system "sed -i '/^CFLAGS += -Wall/s/$/ -I\\/usr\\/local\\/include\\/ncurses/' 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