aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/fon-flash-cli.rb
blob: dcd383e70e8ea6cfc07519b0ea7fdb6bbf664d4e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
require 'formula'

class FonFlashCli < Formula
  homepage 'http://www.gargoyle-router.com/wiki/doku.php?id=fon_flash'
  url 'http://www.gargoyle-router.com/downloads/src/gargoyle_1.5.6-src.tar.gz'
  version '1.5.6'
  sha1 'e6047eb8edb6c95ff174b8639d7291a10deccd97'

  def install
    cd 'fon-flash' do
      system "make fon-flash"
      bin.install 'fon-flash'
      prefix.install 'README.txt'
    end
  end

  def test
    system "#{bin}/fon-flash"
  end
end