homebrew-core/Formula/moreutils.rb

17 lines
554 B
Ruby
Raw Normal View History

require 'formula'
2011-03-10 05:11:03 +00:00
class Moreutils < Formula
homepage 'http://packages.debian.org/unstable/utils/moreutils'
url 'http://mirrors.kernel.org/debian/pool/main/m/moreutils/moreutils_0.45.tar.gz'
md5 'b30306cd7312219551b890fbcbf984c4'
def install
# Building the man pages requires DocBook, so we skip them.
scripts = %w[combine ts vidir vipe zrun]
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