aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/moreutils.rb
blob: f26d5d8cf5abef0b2cbca8dacf51368609f28303 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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.41.tar.gz'
  md5 '598c412bbc452b436becce8bd28df377'

  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