Commit 0e6e8c60 authored by Ed Reel's avatar Ed Reel

Add progress package

parent 5cc5ed51
require 'package'
class Progress < Package
description 'Linux tool to show progress for cp, mv, dd, ... (formerly known as cv)'
homepage 'https://github.com/Xfennec/progress'
version '0.13.1'
source_url 'https://github.com/Xfennec/progress/archive/v0.13.1.tar.gz'
source_sha256 '064c95e8b93893dbf4b4b8152290cbb3b0c005eda0cae500353561048c9939a5'
binary_url ({
})
binary_sha256 ({
})
depends_on 'pkgconfig' => :build
depends_on 'ncurses'
def self.build
system "sed -i '9,14d' Makefile"
system "sed -i 's,PREFIX ?= /usr/local,PREFIX ?= #{CREW_PREFIX},' Makefile"
system "make CFLAGS=' -I#{CREW_PREFIX}/include/ncurses'"
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