Commit 99684e98 authored by lyxell's avatar lyxell Committed by GitHub

Merge pull request #390 from cstrouse/add-pagemon

Add pagemon (0.01.10) package
parents f4c0f04e f12a1332
require 'package'
class Pagemon < Package
version '0.01.10'
source_url 'http://kernel.ubuntu.com/~cking/tarballs/pagemon/pagemon-0.01.10.tar.gz'
source_sha1 'bc0b4c6db0e1551711e90ffa99162cbbe6217056'
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