homebrew-core/Formula/moreutils.rb
Dean Holdren 442f339a69 moreutils 0.50
Closes Homebrew/homebrew#22498.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2013-09-12 18:53:19 +01:00

22 lines
776 B
Ruby

require 'formula'
class Moreutils < Formula
homepage 'http://packages.debian.org/unstable/utils/moreutils'
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'
conflicts_with 'parallel',
:because => "both install a 'parallel' executable."
conflicts_with 'task-spooler',
:because => "both install a 'ts' executable."
def install
# "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
end
end