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'
|
2012-07-31 21:21:40 +00:00
|
|
|
url 'http://mirrors.kernel.org/debian/pool/main/m/moreutils/moreutils_0.47.tar.gz'
|
|
|
|
mirror 'http://ftp.us.debian.org/debian/pool/main/m/moreutils/moreutils_0.47.tar.gz'
|
2012-09-03 18:33:56 +00:00
|
|
|
sha1 '0459608fdb37bc59605d7a476717693afd133e00'
|
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
|
|
|
|
# Building the man pages requires DocBook, so we skip them.
|
2012-06-14 02:30:44 +00:00
|
|
|
scripts = %w[chronic combine ts vidir vipe zrun]
|
2010-07-02 17:57:13 +00:00
|
|
|
binaries = %w[isutf8 ifne pee sponge mispipe lckdo parallel]
|
|
|
|
# Just `make all` will try to build the man pages.
|
|
|
|
system "make", *binaries
|
|
|
|
bin.install scripts + binaries
|
|
|
|
end
|
|
|
|
end
|