homebrew-core/Formula/moreutils.rb
2013-07-26 09:32:54 -07: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.49.tar.gz'
mirror 'http://ftp.us.debian.org/debian/pool/main/m/moreutils/moreutils_0.49.tar.gz'
sha1 'cb7948b61749680ad5b6c175ae76381703c6b673'
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