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'
|
2011-08-10 23:34:07 +00:00
|
|
|
url 'http://mirrors.kernel.org/debian/pool/main/m/moreutils/moreutils_0.45.tar.gz'
|
2011-09-19 15:51:54 +00:00
|
|
|
mirror 'http://ftp.us.debian.org/debian/pool/main/m/moreutils/moreutils_0.45.tar.gz'
|
2011-08-10 23:34:07 +00:00
|
|
|
md5 'b30306cd7312219551b890fbcbf984c4'
|
2010-07-02 17:57:13 +00:00
|
|
|
|
|
|
|
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
|