2012-08-30 15:14:11 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class FonFlashCli < Formula
|
|
|
|
homepage 'http://www.gargoyle-router.com/wiki/doku.php?id=fon_flash'
|
2013-11-30 17:54:45 +00:00
|
|
|
url 'http://www.gargoyle-router.com/downloads/src/gargoyle_1.5.11-src.tar.gz'
|
|
|
|
version '1.5.11'
|
|
|
|
sha1 'a5184b7754b9db3ea0c19602e4a8ddbcc1bde7fe'
|
2012-08-30 15:14:11 +00:00
|
|
|
|
|
|
|
def install
|
|
|
|
cd 'fon-flash' do
|
|
|
|
system "make fon-flash"
|
|
|
|
bin.install 'fon-flash'
|
2012-11-11 19:20:09 +00:00
|
|
|
prefix.install_metafiles
|
2012-08-30 15:14:11 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
def test
|
|
|
|
system "#{bin}/fon-flash"
|
|
|
|
end
|
|
|
|
end
|