2010-07-02 17:57:13 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Moreutils < Formula
|
2010-07-02 17:57:13 +00:00
|
|
|
homepage 'http://packages.debian.org/unstable/utils/moreutils'
|
2013-09-12 17:31:03 +00:00
|
|
|
url 'http://mirrors.kernel.org/debian/pool/main/m/moreutils/moreutils_0.50.tar.gz'
|
|
|
|
mirror 'http://ftp.us.debian.org/debian/pool/main/m/moreutils/moreutils_0.50.tar.gz'
|
|
|
|
sha1 'f2d2cab5be2ba4b9a568ea32becf866ee4a37d9d'
|
2010-07-02 17:57:13 +00:00
|
|
|
|
2012-12-24 17:41:46 +00:00
|
|
|
conflicts_with 'parallel',
|
|
|
|
:because => "both install a 'parallel' executable."
|
|
|
|
|
2013-01-03 05:36:18 +00:00
|
|
|
conflicts_with 'task-spooler',
|
|
|
|
:because => "both install a 'ts' executable."
|
|
|
|
|
2010-07-02 17:57:13 +00:00
|
|
|
def install
|
2013-02-10 00:42:54 +00:00
|
|
|
# "make all" will try to build the man pages, which requires Docbook
|
|
|
|
scripts = %w{vidir vipe ts combine zrun chronic}
|
|
|
|
bins = %w{isutf8 ifne pee sponge mispipe lckdo parallel errno}
|
|
|
|
system "make", *bins
|
|
|
|
bin.install scripts + bins
|
2010-07-02 17:57:13 +00:00
|
|
|
end
|
|
|
|
end
|