aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/randomize-lines.rb
diff options
context:
space:
mode:
authorJørgen P. Tjernø2013-08-13 12:27:14 -0700
committerAdam Vandenberg2013-08-15 09:50:07 -0700
commit7b7fc3357b4bf088f280529d33030bf90660c3f0 (patch)
tree825c5d9c9a9d7943b700d742f0e6bf9ba67b3f1f /Library/Formula/randomize-lines.rb
parenteaccdfc9749fcc8b4cddcfc1054e74d4e047151a (diff)
downloadhomebrew-7b7fc3357b4bf088f280529d33030bf90660c3f0.tar.bz2
randomize-lines 0.2.7
Closes #21877. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula/randomize-lines.rb')
-rw-r--r--Library/Formula/randomize-lines.rb17
1 files changed, 17 insertions, 0 deletions
diff --git a/Library/Formula/randomize-lines.rb b/Library/Formula/randomize-lines.rb
new file mode 100644
index 000000000..9894e0e6f
--- /dev/null
+++ b/Library/Formula/randomize-lines.rb
@@ -0,0 +1,17 @@
+require 'formula'
+
+class RandomizeLines < Formula
+ homepage 'http://arthurdejong.org/rl/'
+ url 'http://arthurdejong.org/rl/rl-0.2.7.tar.gz'
+ sha1 '72d0bb0284b07560374e19f3c7983d64ba12bd95'
+
+ def install
+ system "./configure", "--disable-dependency-tracking",
+ "--prefix=#{prefix}"
+ system "make", "install"
+ end
+
+ test do
+ system "echo -e \"1\n2\n4\" | #{bin}/rl -c 1"
+ end
+end