aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/cf.rb
diff options
context:
space:
mode:
authorMatthias Vallentin2015-02-12 19:11:47 -0800
committerMike McQuaid2015-02-13 11:09:18 +0000
commit6d4e5807d4d89433360cce29eb5ba5e3fe356936 (patch)
tree2563897f9b8625d0a66687a461ea342b624dd4cf /Library/Formula/cf.rb
parente3a18a141b0b7f8693df2f929509ebffb6e4a93f (diff)
downloadhomebrew-6d4e5807d4d89433360cce29eb5ba5e3fe356936.tar.bz2
cf 1.2.5 (new formula)
Closes #36779. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Formula/cf.rb')
-rw-r--r--Library/Formula/cf.rb18
1 files changed, 18 insertions, 0 deletions
diff --git a/Library/Formula/cf.rb b/Library/Formula/cf.rb
new file mode 100644
index 000000000..8aad41883
--- /dev/null
+++ b/Library/Formula/cf.rb
@@ -0,0 +1,18 @@
+class Cf < Formula
+ homepage "http://ee.lbl.gov"
+ url "ftp://ee.lbl.gov/cf-1.2.5.tar.gz"
+ sha1 "0ef0b03c1ea7221d75dac0ce110fd677e1f0182a"
+
+ def install
+ system "./configure", "--prefix=#{prefix}"
+ system "make"
+ bin.mkpath
+ man1.mkpath
+ system "make", "install"
+ system "make", "install-man"
+ end
+
+ test do
+ assert_match /Jan 20 00:35:44/, `echo 1074558944 | #{bin}/cf -u`
+ end
+end