Permalink
Browse files

Added formula for fon-flash

This formula compiles fon-flash, an ethernet flashing tool for routers.
This formula will only compile the command line tool.
  • Loading branch information...
1 parent 251ff3c commit f0bc22c813d9f857d2af0effcb2fd11fea64fbab @nolith committed Aug 30, 2012
Showing with 17 additions and 0 deletions.
  1. +17 −0 Library/Formula/fon-flash-cli.rb
@@ -0,0 +1,17 @@
+require 'formula'
+
+class FonFlashCli < Formula
+ homepage 'http://www.gargoyle-router.com/wiki/doku.php?id=fon_flash'
+ url 'http://www.gargoyle-router.com/downloads/fon-flash/fon-flash-src.tar.gz'
+ version '0.0.1'
+ sha1 '278a5476275ac7fc0dd343fa3baa7f6dc6ed84ff'
+
+ def install
+ system "make fon-flash"
+ bin.install 'fon-flash'
+ end
+
+ def test
+ system "fon-flash"
+ end
+end

0 comments on commit f0bc22c

Please sign in to comment.