homebrew-core/Formula/moreutils.rb
Charlie Sharpsteen 4f9f0d0bf5 mirror support: Mirrors for kernel.org software
- All Debian software is now mirrored by ftp.us.debian.org.

- LibFFI is mirrored by ftp.sourceware.org.

- All kernel.org software is now mirrored by mirrorservice.org.

Fixes Homebrew/homebrew#7478.
2011-09-19 09:25:02 -07:00

17 lines
641 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.45.tar.gz'
mirror 'http://ftp.us.debian.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