aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/moreutils.rb
diff options
context:
space:
mode:
authorMartin Kühl2010-07-02 19:57:13 +0200
committerAdam Vandenberg2010-07-08 09:11:26 -0700
commit0fc0b803e2ebfd38bbce0de363f1d78a54b081d2 (patch)
tree7d6c704ad31f94a618c538c653b70322bbd19a8d /Library/Formula/moreutils.rb
parent12244e716bb44947efd40b103cef043430c19fbb (diff)
downloadhomebrew-0fc0b803e2ebfd38bbce0de363f1d78a54b081d2.tar.bz2
New formula: `moreutils`.
We skip the man pages because building them requires docbook. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula/moreutils.rb')
-rw-r--r--Library/Formula/moreutils.rb16
1 files changed, 16 insertions, 0 deletions
diff --git a/Library/Formula/moreutils.rb b/Library/Formula/moreutils.rb
new file mode 100644
index 000000000..71e97ae22
--- /dev/null
+++ b/Library/Formula/moreutils.rb
@@ -0,0 +1,16 @@
+require 'formula'
+
+class Moreutils <Formula
+ homepage 'http://packages.debian.org/unstable/utils/moreutils'
+ url 'http://ftp.debian.org/debian/pool/main/m/moreutils/moreutils_0.39.tar.gz'
+ md5 '73477f418ea2de81a045019cc71267f3'
+
+ 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